Class ItemProperties
java.lang.Object
net.minecraft.client.renderer.item.ItemProperties
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemPropertyFunction
getProperty
(Item p_117830_, ResourceLocation p_117831_) static void
register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static void
registerCustomModelData
(ItemPropertyFunction p_174580_) static ItemPropertyFunction
registerGeneric
(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
-
ItemProperties
public ItemProperties()
-
-
Method Details
-
registerGeneric
public static ItemPropertyFunction registerGeneric(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
registerCustomModelData
-
register
public static void register(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) -
getProperty
@Nullable public static ItemPropertyFunction getProperty(Item p_117830_, ResourceLocation p_117831_)
-