Uses of Class
cn.nukkit.item.customitem.CustomItemDefinition.SimpleBuilder
-
Uses of CustomItemDefinition.SimpleBuilder in cn.nukkit.item.customitem
Modifier and TypeClassDescriptionstatic class
static class
static class
Modifier and TypeMethodDescriptionprotected CustomItemDefinition.SimpleBuilder
CustomItemDefinition.SimpleBuilder.addRepairs
(List<String> repairItemNames, String molang) 添加一个可修理该物品的物品CustomItemDefinition.SimpleBuilder.allowOffHand
(boolean allowOffHand) 是否允许副手持有CustomItemDefinition.SimpleBuilder.canDestroyInCreative
(boolean value) 控制拿该物品的玩家是否可以在创造模式挖掘方块CustomItemDefinition.SimpleBuilder.creativeGroup
(ItemCreativeGroup creativeGroup) 控制自定义物品在创造栏的分组,例如所有的附魔书是一组CustomItemDefinition.SimpleBuilder.creativeGroup
(String creativeGroup) 控制自定义物品在创造栏的分组,例如所有的附魔书是一组CustomItemDefinition.customBuilder
(CustomItem item, ItemCreativeCategory creativeCategory) 自定义物品的定义构造器CustomItemDefinition.SimpleBuilder.foil
(boolean foil) CustomItemDefinition.SimpleBuilder.handEquipped
(boolean handEquipped) 控制第三人称手持物品的显示方式CustomItemDefinition.SimpleBuilder.renderOffsets
(RenderOffsets renderOffsets) 控制自定义物品在不同视角下的渲染偏移CustomItemDefinition.simpleBuilder
(ItemCustom item, ItemCreativeCategory creativeCategory) 简单物品的定义构造器向自定义物品添加一个tag,通常用于合成等