Class ItemOverride
- java.lang.Object
-
- net.minecraft.client.renderer.model.ItemOverride
-
public class ItemOverride extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ItemOverride.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocation
model
private java.util.Map<ResourceLocation,java.lang.Float>
predicates
-
Constructor Summary
Constructors Constructor Description ItemOverride(ResourceLocation p_i46571_1_, java.util.Map<ResourceLocation,java.lang.Float> p_i46571_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getModel()
(package private) boolean
test(ItemStack p_239289_1_, ClientWorld p_239289_2_, LivingEntity p_239289_3_)
-
-
-
Field Detail
-
model
private final ResourceLocation model
-
predicates
private final java.util.Map<ResourceLocation,java.lang.Float> predicates
-
-
Constructor Detail
-
ItemOverride
public ItemOverride(ResourceLocation p_i46571_1_, java.util.Map<ResourceLocation,java.lang.Float> p_i46571_2_)
-
-
Method Detail
-
getModel
public ResourceLocation getModel()
-
test
boolean test(ItemStack p_239289_1_, @Nullable ClientWorld p_239289_2_, @Nullable LivingEntity p_239289_3_)
-
-