public class ItemOverrideList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ItemOverrideList |
EMPTY |
Modifier | Constructor and Description |
---|---|
protected |
ItemOverrideList() |
|
ItemOverrideList(IUnbakedModel model,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter,
java.util.List<ItemOverride> overridesIn) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
EntityLivingBase entityIn) |
com.google.common.collect.ImmutableList<ItemOverride> |
getOverrides() |
public static final ItemOverrideList EMPTY
protected ItemOverrideList()
public ItemOverrideList(IUnbakedModel model, java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter, java.util.List<ItemOverride> overridesIn)
@Nullable public IBakedModel getModelWithOverrides(IBakedModel model, ItemStack stack, @Nullable World worldIn, @Nullable EntityLivingBase entityIn)
public com.google.common.collect.ImmutableList<ItemOverride> getOverrides()