Class ItemProperties
java.lang.Object
net.minecraft.client.renderer.item.ItemProperties
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate static final ResourceLocationprivate static final Map<ResourceLocation,ItemPropertyFunction> private static final Map<Item,Map<ResourceLocation, ItemPropertyFunction>> private static final ClampedItemPropertyFunctionprivate static final ClampedItemPropertyFunctionprivate static final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ItemPropertyFunctiongetProperty(Item p_117830_, ResourceLocation p_117831_) private static voidregister(Item p_174571_, ResourceLocation p_174572_, ClampedItemPropertyFunction p_174573_) static voidregister(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static voidregisterCustomModelData(ItemPropertyFunction p_174580_) private static ClampedItemPropertyFunctionregisterGeneric(ResourceLocation p_174582_, ClampedItemPropertyFunction p_174583_) static ItemPropertyFunctionregisterGeneric(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) 
- 
Field Details- 
GENERIC_PROPERTIES
- 
TAG_CUSTOM_MODEL_DATA- See Also:
 
- 
DAMAGED
- 
DAMAGE
- 
PROPERTY_DAMAGED
- 
PROPERTY_DAMAGE
- 
PROPERTIES
 
- 
- 
Constructor Details- 
ItemPropertiespublic ItemProperties()
 
- 
- 
Method Details- 
registerGenericprivate static ClampedItemPropertyFunction registerGeneric(ResourceLocation p_174582_, ClampedItemPropertyFunction p_174583_) 
- 
registerGenericpublic static ItemPropertyFunction registerGeneric(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) 
- 
registerCustomModelData
- 
registerprivate static void register(Item p_174571_, ResourceLocation p_174572_, ClampedItemPropertyFunction p_174573_) 
- 
registerpublic static void register(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) 
- 
getProperty@Nullable public static ItemPropertyFunction getProperty(Item p_117830_, ResourceLocation p_117831_) 
 
-