Package net.minecraft.item
Class ItemModelsProperties
- java.lang.Object
-
- net.minecraft.item.ItemModelsProperties
-
public class ItemModelsProperties extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ItemModelsProperties.Angle
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
DAMAGE
private static ResourceLocation
DAMAGED
private static java.util.Map<ResourceLocation,IItemPropertyGetter>
GENERIC_PROPERTIES
private static java.util.Map<Item,java.util.Map<ResourceLocation,IItemPropertyGetter>>
PROPERTIES
private static IItemPropertyGetter
PROPERTY_DAMAGE
private static IItemPropertyGetter
PROPERTY_DAMAGED
-
Constructor Summary
Constructors Constructor Description ItemModelsProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IItemPropertyGetter
getProperty(Item p_239417_0_, ResourceLocation p_239417_1_)
static void
register(Item p_239418_0_, ResourceLocation p_239418_1_, IItemPropertyGetter p_239418_2_)
private static IItemPropertyGetter
registerGeneric(ResourceLocation p_239420_0_, IItemPropertyGetter p_239420_1_)
-
-
-
Field Detail
-
GENERIC_PROPERTIES
private static final java.util.Map<ResourceLocation,IItemPropertyGetter> GENERIC_PROPERTIES
-
DAMAGED
private static final ResourceLocation DAMAGED
-
DAMAGE
private static final ResourceLocation DAMAGE
-
PROPERTY_DAMAGED
private static final IItemPropertyGetter PROPERTY_DAMAGED
-
PROPERTY_DAMAGE
private static final IItemPropertyGetter PROPERTY_DAMAGE
-
PROPERTIES
private static final java.util.Map<Item,java.util.Map<ResourceLocation,IItemPropertyGetter>> PROPERTIES
-
-
Method Detail
-
registerGeneric
private static IItemPropertyGetter registerGeneric(ResourceLocation p_239420_0_, IItemPropertyGetter p_239420_1_)
-
register
public static void register(Item p_239418_0_, ResourceLocation p_239418_1_, IItemPropertyGetter p_239418_2_)
-
getProperty
@Nullable public static IItemPropertyGetter getProperty(Item p_239417_0_, ResourceLocation p_239417_1_)
-
-