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 Details

    • providerId

      @NotNull @NotNull String providerId()
      Returns:
      provider identifier used in blocks.yml (e.g. "ORAXEN")
    • isAvailable

      boolean isAvailable()
    • isValidBlock

      boolean isValidBlock(@NotNull @NotNull String customId)
    • 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)