CustomItemServiceManager

Functions

Link copied to clipboard
fun canBreakBlock(block: Block, tool: ItemStack?): Boolean?
Link copied to clipboard
fun getBlockItemModelPaths(): Map<ResourceLocation, ResourcePath>
Link copied to clipboard
fun getBlockType(block: Block): CustomBlockType?
Link copied to clipboard
fun getDrops(block: Block, tool: ItemStack?): List<ItemStack>?
Link copied to clipboard
fun getId(block: Block): String?
fun getId(item: ItemStack): String?
Link copied to clipboard
fun getItemByName(name: String): ItemStack?
Link copied to clipboard
Link copied to clipboard
fun getItemType(item: ItemStack): CustomItemType?
Link copied to clipboard
fun getName(block: Block, locale: String): Component?
fun getName(item: ItemStack, locale: String): Component?
Link copied to clipboard
fun hasRecipe(key: NamespacedKey): Boolean
Link copied to clipboard
fun placeBlock(item: ItemStack, location: Location, playSound: Boolean): Boolean
Link copied to clipboard
fun removeBlock(block: Block, breakEffects: Boolean): Boolean