public class ItemOverride
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ItemOverride.Deserializer |
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
location |
private java.util.Map<ResourceLocation,java.lang.Float> |
mapResourceValues |
Constructor and Description |
---|
ItemOverride(ResourceLocation locationIn,
java.util.Map<ResourceLocation,java.lang.Float> propertyValues) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getLocation() |
(package private) boolean |
matchesItemStack(ItemStack stack,
World worldIn,
EntityLivingBase livingEntity) |
private final ResourceLocation location
private final java.util.Map<ResourceLocation,java.lang.Float> mapResourceValues
public ItemOverride(ResourceLocation locationIn, java.util.Map<ResourceLocation,java.lang.Float> propertyValues)
public ResourceLocation getLocation()
boolean matchesItemStack(ItemStack stack, @Nullable World worldIn, @Nullable EntityLivingBase livingEntity)