BukkitBlockRegistry

Inherited properties

Link copied to clipboard
open val id: String
Link copied to clipboard
open val isEnabled: Boolean
Link copied to clipboard
abstract val knownIds: Collection<String>

Inherited functions

Link copied to clipboard
open fun breakBlock(block: Block): Boolean
open fun breakBlock(block: Block, tool: ItemStack?): Boolean
abstract fun breakBlock(block: Block, tool: ItemStack?, dropsConsumer: DropsConsumer<ItemStack>): Boolean
Link copied to clipboard
abstract fun getBlockId(block: Block): String?
Link copied to clipboard
abstract fun getBlockIdFromItem(blockItem: ItemStack): String?
Link copied to clipboard
abstract fun isBlockExists(blockId: String): Boolean
Link copied to clipboard
open fun isSameBlock(block: Block, blockId: String): Boolean
Link copied to clipboard
open fun isSameBlockItem(blockItem: ItemStack, blockId: String): Boolean
Link copied to clipboard
open fun setBlock(block: Block, blockId: String): Boolean
abstract fun setBlock(block: Block, blockId: String, payload: Any?): Boolean