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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemPropertyFunction
getProperty
(ItemStack p_336078_, 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
-
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(ItemStack p_336078_, ResourceLocation p_117831_)
-