Class ModelOverrideList
java.lang.Object
net.minecraft.client.render.model.json.ModelOverrideList
- Mappings:
Namespace Name official faw
intermediary net/minecraft/class_806
named net/minecraft/client/render/model/json/ModelOverrideList
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Identifier[]
static final ModelOverrideList
private final ModelOverrideList.BakedOverride[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
ModelOverrideList
(ModelLoader modelLoader, JsonUnbakedModel parent, Function<Identifier, UnbakedModel> unbakedModelGetter, List<ModelOverride> overrides) -
Method Summary
Modifier and TypeMethodDescriptionapply
(BakedModel model, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) private @Nullable BakedModel
bakeOverridingModel
(ModelLoader loader, JsonUnbakedModel parent, Function<Identifier, UnbakedModel> unbakedModelGetter, ModelOverride override)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lfaw;a:Lfaw;
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
Lfaw;b:[Lfaw$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
Lfaw;c:[Labb;
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>
Lfaw;<init>(Lflu;Lfar;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 @Nullable BakedModel bakeOverridingModel(ModelLoader loader, JsonUnbakedModel parent, Function<Identifier, UnbakedModel> unbakedModelGetter, ModelOverride override) - Mappings:
Namespace Name Mixin selector official a
Lfaw;a(Lflu;Lfar;Ljava/util/function/Function;Lfav;)Lflq;
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 @Nullable BakedModel apply(BakedModel model, ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity entity, int seed) - Mappings:
Namespace Name Mixin selector official a
Lfaw;a(Lflq;Lcax;Leuv;Lbcc;I)Lflq;
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;
-