Class ItemProperties
java.lang.Object
net.minecraft.client.renderer.item.ItemProperties
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ResourceLocation
private static ResourceLocation
private static Map<ResourceLocation,ItemPropertyFunction>
private static Map<Item,Map<ResourceLocation,ItemPropertyFunction>>
private static ClampedItemPropertyFunction
private static ClampedItemPropertyFunction
private static 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:
- Constant Field Values
-
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_)
-