public class ItemOverride
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ItemOverride.Deserializer |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
model |
private java.util.Map<ResourceLocation,java.lang.Float> |
predicates |
Constructor and Description |
---|
ItemOverride(ResourceLocation p_i46571_1_,
java.util.Map<ResourceLocation,java.lang.Float> p_i46571_2_) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getModel() |
(package private) boolean |
test(ItemStack p_239289_1_,
ClientWorld p_239289_2_,
LivingEntity p_239289_3_) |
private final ResourceLocation model
private final java.util.Map<ResourceLocation,java.lang.Float> predicates
public ItemOverride(ResourceLocation p_i46571_1_, java.util.Map<ResourceLocation,java.lang.Float> p_i46571_2_)
public ResourceLocation getModel()
boolean test(ItemStack p_239289_1_, @Nullable ClientWorld p_239289_2_, @Nullable LivingEntity p_239289_3_)