Class ItemOverrideList
java.lang.Object
net.minecraft.client.renderer.model.ItemOverrideList
- Direct Known Subclasses:
AnimationItemOverrideList
,DynamicBucketModel.ContainedFluidOverrideHandler
,PerspectiveMapWrapper.OverrideListWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ItemOverrideList
private final List<IBakedModel>
private final List<ItemOverride>
-
Constructor Summary
ModifierConstructorDescriptionprotected
ItemOverrideList
(ModelBakery p_i50984_1_, BlockModel p_i50984_2_, Function<ResourceLocation, IUnbakedModel> p_i50984_3_, List<ItemOverride> p_i50984_4_) Deprecated.ItemOverrideList
(ModelBakery p_i50984_1_, IUnbakedModel p_i50984_2_, Function<ResourceLocation, IUnbakedModel> p_i50984_3_, Function<RenderMaterial, TextureAtlasSprite> textureGetter, List<ItemOverride> p_i50984_4_) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<ItemOverride>
resolve
(IBakedModel p_239290_1_, ItemStack p_239290_2_, ClientWorld p_239290_3_, LivingEntity p_239290_4_)
-
Field Details
-
EMPTY
-
overrides
-
overrideModels
-
-
Constructor Details
-
ItemOverrideList
protected ItemOverrideList() -
ItemOverrideList
@Deprecated public ItemOverrideList(ModelBakery p_i50984_1_, BlockModel p_i50984_2_, Function<ResourceLocation, IUnbakedModel> p_i50984_3_, List<ItemOverride> p_i50984_4_) Deprecated. -
ItemOverrideList
public ItemOverrideList(ModelBakery p_i50984_1_, IUnbakedModel p_i50984_2_, Function<ResourceLocation, IUnbakedModel> p_i50984_3_, Function<RenderMaterial, TextureAtlasSprite> textureGetter, List<ItemOverride> p_i50984_4_)
-
-
Method Details
-
resolve
@Nullable public IBakedModel resolve(IBakedModel p_239290_1_, ItemStack p_239290_2_, @Nullable ClientWorld p_239290_3_, @Nullable LivingEntity p_239290_4_) -
getOverrides
-