Class ItemProperties
java.lang.Object
net.minecraft.client.renderer.item.ItemProperties
-
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_) private static void
register
(Item p_174571_, ResourceLocation p_174572_, ClampedItemPropertyFunction p_174573_) static void
register
(Item p_174571_, ResourceLocation p_174572_, ItemPropertyFunction p_174573_) private static void
registerCustomModelData
(ItemPropertyFunction p_174580_) private static ClampedItemPropertyFunction
registerGeneric
(ResourceLocation p_174582_, ClampedItemPropertyFunction p_174583_) 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
private static ClampedItemPropertyFunction registerGeneric(ResourceLocation p_174582_, ClampedItemPropertyFunction p_174583_) -
registerGeneric
public static ItemPropertyFunction registerGeneric(ResourceLocation p_174582_, ItemPropertyFunction p_174583_) -
registerCustomModelData
-
register
private static void register(Item p_174571_, ResourceLocation p_174572_, ClampedItemPropertyFunction p_174573_) -
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_)
-