Class ModelOverrideList

java.lang.Object
net.minecraft.client.render.model.json.ModelOverrideList

@Environment(CLIENT) public class ModelOverrideList extends Object
Mappings:
Namespace Name
official eol
intermediary net/minecraft/class_806
named net/minecraft/client/render/model/json/ModelOverrideList
  • Field Details

    • EMPTY

      public static final ModelOverrideList EMPTY
      Mappings:
      Namespace Name Mixin selector
      official a Leol;a:Leol;
      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

      private final ModelOverrideList.BakedOverride[] overrides
      Mappings:
      Namespace Name Mixin selector
      official b Leol;b:[Leol$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

      private final Identifier[] conditionTypes
      Mappings:
      Namespace Name Mixin selector
      official c Leol;c:[Lww;
      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> Leol;<init>(Lezb;Leog;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 Leol;a(Lezb;Leog;Ljava/util/function/Function;Leok;)Leyx;
      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

      Mappings:
      Namespace Name Mixin selector
      official a Leol;a(Leyx;Lbqp;Lejh;Latt;I)Leyx;
      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;