Class ModelOverrideList

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

@Environment(CLIENT) public class ModelOverrideList extends Object
Mappings:
Namespace Name
official fpl
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 Lfpl;a:Lfpl;
      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;
    • field_42072

      public static final float field_42072
      Mappings:
      Namespace Name Mixin selector
      official b Lfpl;b:F
      intermediary field_42072 Lnet/minecraft/class_806;field_42072:F
      named field_42072 Lnet/minecraft/client/render/model/json/ModelOverrideList;field_42072:F
    • overrides

      private final ModelOverrideList.BakedOverride[] overrides
      Mappings:
      Namespace Name Mixin selector
      official c Lfpl;c:[Lfpl$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 d Lfpl;d:[Laew;
      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(Baker baker, JsonUnbakedModel parent, List<ModelOverride> overrides)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfpl;<init>(Lgbj;Lfpg;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_806;<init>(Lnet/minecraft/class_7775;Lnet/minecraft/class_793;Ljava/util/List;)V
      named <init> Lnet/minecraft/client/render/model/json/ModelOverrideList;<init>(Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/client/render/model/json/JsonUnbakedModel;Ljava/util/List;)V
  • Method Details

    • bakeOverridingModel

      @Nullable private @Nullable BakedModel bakeOverridingModel(Baker baker, JsonUnbakedModel parent, ModelOverride override)
      Mappings:
      Namespace Name Mixin selector
      official a Lfpl;a(Lgbj;Lfpg;Lfpk;)Lgbf;
      intermediary method_33695 Lnet/minecraft/class_806;method_33695(Lnet/minecraft/class_7775;Lnet/minecraft/class_793;Lnet/minecraft/class_799;)Lnet/minecraft/class_1087;
      named bakeOverridingModel Lnet/minecraft/client/render/model/json/ModelOverrideList;bakeOverridingModel(Lnet/minecraft/client/render/model/Baker;Lnet/minecraft/client/render/model/json/JsonUnbakedModel;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 Lfpl;a(Lgbf;Lcjf;Lfix;Lbjg;I)Lgbf;
      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;