public class ItemOverrideList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ItemOverrideList |
NONE |
private java.util.List<ItemOverride> |
overrides |
Modifier | Constructor and Description |
---|---|
private |
ItemOverrideList() |
|
ItemOverrideList(java.util.List<ItemOverride> overridesIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
applyOverride(ItemStack stack,
World worldIn,
EntityLivingBase entityIn)
Deprecated.
|
com.google.common.collect.ImmutableList<ItemOverride> |
getOverrides() |
IBakedModel |
handleItemState(IBakedModel originalModel,
ItemStack stack,
World world,
EntityLivingBase entity) |
public static final ItemOverrideList NONE
private final java.util.List<ItemOverride> overrides
private ItemOverrideList()
public ItemOverrideList(java.util.List<ItemOverride> overridesIn)
@Nullable @Deprecated public ResourceLocation applyOverride(ItemStack stack, @Nullable World worldIn, @Nullable EntityLivingBase entityIn)
public IBakedModel handleItemState(IBakedModel originalModel, ItemStack stack, @Nullable World world, @Nullable EntityLivingBase entity)
public com.google.common.collect.ImmutableList<ItemOverride> getOverrides()