类 ItemProperties
java.lang.Object
net.minecraft.client.renderer.item.ItemProperties
-
字段概要
字段修饰符和类型字段说明private static final ResourceLocation
private static final ResourceLocation
private static final Map<ResourceLocation,
ItemPropertyFunction> private static final Map<Item,
Map<ResourceLocation, ItemPropertyFunction>> private static final ClampedItemPropertyFunction
private static final ClampedItemPropertyFunction
private static final String
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ItemPropertyFunction
getProperty
(Item pItem, ResourceLocation pName) private static void
register
(Item pItem, ResourceLocation pName, ClampedItemPropertyFunction pProperty) static void
register
(Item pItem, ResourceLocation pName, ItemPropertyFunction pProperty) private static void
registerCustomModelData
(ItemPropertyFunction pProperty) private static ClampedItemPropertyFunction
registerGeneric
(ResourceLocation pName, ClampedItemPropertyFunction pProperty) static ItemPropertyFunction
registerGeneric
(ResourceLocation pName, ItemPropertyFunction pProperty)
-
字段详细资料
-
GENERIC_PROPERTIES
-
TAG_CUSTOM_MODEL_DATA
- 另请参阅:
-
DAMAGED
-
DAMAGE
-
PROPERTY_DAMAGED
-
PROPERTY_DAMAGE
-
PROPERTIES
-
-
构造器详细资料
-
ItemProperties
public ItemProperties()
-
-
方法详细资料
-
registerGeneric
private static ClampedItemPropertyFunction registerGeneric(ResourceLocation pName, ClampedItemPropertyFunction pProperty) -
registerGeneric
public static ItemPropertyFunction registerGeneric(ResourceLocation pName, ItemPropertyFunction pProperty) -
registerCustomModelData
-
register
private static void register(Item pItem, ResourceLocation pName, ClampedItemPropertyFunction pProperty) -
register
-
getProperty
-