Class ModelOverrideList
java.lang.Object
net.minecraft.client.render.model.json.ModelOverrideList
@Environment(CLIENT) public class ModelOverrideList extends Object
- Mappings:
Namespace Name official eiu
intermediary net/minecraft/class_806
named net/minecraft/client/render/model/json/ModelOverrideList
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ModelOverrideList.BakedOverride
(package private) static class
ModelOverrideList.InlinedCondition
-
Field Summary
Fields Modifier and Type Field Description private Identifier[]
conditionTypes
static ModelOverrideList
EMPTY
private ModelOverrideList.BakedOverride[]
overrides
-
Constructor Summary
Constructors Modifier Constructor Description private
ModelOverrideList()
ModelOverrideList(ModelLoader modelLoader, JsonUnbakedModel parent, Function<Identifier,UnbakedModel> unbakedModelGetter, List<ModelOverride> overrides)
-
Method Summary
Modifier and Type Method Description BakedModel
apply(BakedModel model, ItemStack stack, ClientWorld world, LivingEntity entity, int seed)
private BakedModel
bakeOverridingModel(ModelLoader loader, JsonUnbakedModel parent, Function<Identifier,UnbakedModel> unbakedModelGetter, ModelOverride override)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Leiu;a:Leiu;
intermediary field_4292
Lnet/minecraft/class_806;field_4292:Lnet/minecraft/class_806;
named EMPTY
Lnet/minecraft/client/render/model/json/ModelOverrideList;EMPTY:Lnet/minecraft/client/render/model/json/ModelOverrideList;
-
overrides
- Mappings:
Namespace Name Mixin selector official b
Leiu;b:[Leiu$a;
intermediary field_28792
Lnet/minecraft/class_806;field_28792:[Lnet/minecraft/class_806$class_5827;
named overrides
Lnet/minecraft/client/render/model/json/ModelOverrideList;overrides:[Lnet/minecraft/client/render/model/json/ModelOverrideList$BakedOverride;
-
conditionTypes
- Mappings:
Namespace Name Mixin selector official c
Leiu;c:[Lwb;
intermediary field_28793
Lnet/minecraft/class_806;field_28793:[Lnet/minecraft/class_2960;
named conditionTypes
Lnet/minecraft/client/render/model/json/ModelOverrideList;conditionTypes:[Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ModelOverrideList
private ModelOverrideList() -
ModelOverrideList
public ModelOverrideList(ModelLoader modelLoader, JsonUnbakedModel parent, Function<Identifier,UnbakedModel> unbakedModelGetter, List<ModelOverride> overrides)- Mappings:
Namespace Name Mixin selector official <init>
Leiu;<init>(Letk;Leip;Ljava/util/function/Function;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_806;<init>(Lnet/minecraft/class_1088;Lnet/minecraft/class_793;Ljava/util/function/Function;Ljava/util/List;)V
named <init>
Lnet/minecraft/client/render/model/json/ModelOverrideList;<init>(Lnet/minecraft/client/render/model/ModelLoader;Lnet/minecraft/client/render/model/json/JsonUnbakedModel;Ljava/util/function/Function;Ljava/util/List;)V
-
-
Method Details
-
bakeOverridingModel
@Nullable private BakedModel bakeOverridingModel(ModelLoader loader, JsonUnbakedModel parent, Function<Identifier,UnbakedModel> unbakedModelGetter, ModelOverride override)- Mappings:
Namespace Name Mixin selector official a
Leiu;a(Letk;Leip;Ljava/util/function/Function;Leit;)Letg;
intermediary method_33695
Lnet/minecraft/class_806;method_33695(Lnet/minecraft/class_1088;Lnet/minecraft/class_793;Ljava/util/function/Function;Lnet/minecraft/class_799;)Lnet/minecraft/class_1087;
named bakeOverridingModel
Lnet/minecraft/client/render/model/json/ModelOverrideList;bakeOverridingModel(Lnet/minecraft/client/render/model/ModelLoader;Lnet/minecraft/client/render/model/json/JsonUnbakedModel;Ljava/util/function/Function;Lnet/minecraft/client/render/model/json/ModelOverride;)Lnet/minecraft/client/render/model/BakedModel;
-
apply
@Nullable public BakedModel apply(BakedModel model, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed)- Mappings:
Namespace Name Mixin selector official a
Leiu;a(Letg;Lbnv;Ledy;Lari;I)Letg;
intermediary method_3495
Lnet/minecraft/class_806;method_3495(Lnet/minecraft/class_1087;Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)Lnet/minecraft/class_1087;
named apply
Lnet/minecraft/client/render/model/json/ModelOverrideList;apply(Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)Lnet/minecraft/client/render/model/BakedModel;
-