Class ItemOverrideList
- java.lang.Object
-
- net.minecraft.client.renderer.model.ItemOverrideList
-
- Direct Known Subclasses:
AnimationItemOverrideList
,DynamicBucketModel.ContainedFluidOverrideHandler
,PerspectiveMapWrapper.OverrideListWrapper
public class ItemOverrideList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ItemOverrideList
EMPTY
private java.util.List<IBakedModel>
overrideModels
private java.util.List<ItemOverride>
overrides
-
Constructor Summary
Constructors Modifier Constructor Description protected
ItemOverrideList()
ItemOverrideList(ModelBakery p_i50984_1_, BlockModel p_i50984_2_, java.util.function.Function<ResourceLocation,IUnbakedModel> p_i50984_3_, java.util.List<ItemOverride> p_i50984_4_)
Deprecated.ItemOverrideList(ModelBakery p_i50984_1_, IUnbakedModel p_i50984_2_, java.util.function.Function<ResourceLocation,IUnbakedModel> p_i50984_3_, java.util.function.Function<RenderMaterial,TextureAtlasSprite> textureGetter, java.util.List<ItemOverride> p_i50984_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<ItemOverride>
getOverrides()
IBakedModel
resolve(IBakedModel p_239290_1_, ItemStack p_239290_2_, ClientWorld p_239290_3_, LivingEntity p_239290_4_)
-
-
-
Field Detail
-
EMPTY
public static final ItemOverrideList EMPTY
-
overrides
private final java.util.List<ItemOverride> overrides
-
overrideModels
private final java.util.List<IBakedModel> overrideModels
-
-
Constructor Detail
-
ItemOverrideList
protected ItemOverrideList()
-
ItemOverrideList
@Deprecated public ItemOverrideList(ModelBakery p_i50984_1_, BlockModel p_i50984_2_, java.util.function.Function<ResourceLocation,IUnbakedModel> p_i50984_3_, java.util.List<ItemOverride> p_i50984_4_)
Deprecated.
-
ItemOverrideList
public ItemOverrideList(ModelBakery p_i50984_1_, IUnbakedModel p_i50984_2_, java.util.function.Function<ResourceLocation,IUnbakedModel> p_i50984_3_, java.util.function.Function<RenderMaterial,TextureAtlasSprite> textureGetter, java.util.List<ItemOverride> p_i50984_4_)
-
-
Method Detail
-
resolve
@Nullable public IBakedModel resolve(IBakedModel p_239290_1_, ItemStack p_239290_2_, @Nullable ClientWorld p_239290_3_, @Nullable LivingEntity p_239290_4_)
-
getOverrides
public com.google.common.collect.ImmutableList<ItemOverride> getOverrides()
-
-