Interface CustomBlockProvider
public interface CustomBlockProvider
Pluggable custom block provider allowing third-party plugins (e.g., Oraxen, CraftEngine, custom engines)
to supply custom block visuals and items to StealABlock.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisValidBlock(@NotNull String customId) @NotNull String@Nullable org.bukkit.block.data.BlockDataresolveBlockData(@NotNull String customId) @Nullable org.bukkit.inventory.ItemStackresolveItemStack(@NotNull String customId)
-
Method Details
-
providerId
- Returns:
- provider identifier used in
blocks.yml(e.g."ORAXEN")
-
isAvailable
boolean isAvailable() -
isValidBlock
-
resolveBlockData
@Nullable @Nullable org.bukkit.block.data.BlockData resolveBlockData(@NotNull @NotNull String customId) -
resolveItemStack
@Nullable @Nullable org.bukkit.inventory.ItemStack resolveItemStack(@NotNull @NotNull String customId)
-