Class ModelOverride

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

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

    • modelId

      private final Identifier modelId
      Mappings:
      Namespace Name Mixin selector
      named modelId Lnet/minecraft/client/render/model/json/ModelOverride;modelId:Lnet/minecraft/util/Identifier;
      intermediary field_4268 Lnet/minecraft/class_799;field_4268:Lnet/minecraft/class_2960;
      official a Lgfl;a:Lakk;
    • conditions

      private final List<ModelOverride.Condition> conditions
      Mappings:
      Namespace Name Mixin selector
      named conditions Lnet/minecraft/client/render/model/json/ModelOverride;conditions:Ljava/util/List;
      intermediary field_4269 Lnet/minecraft/class_799;field_4269:Ljava/util/List;
      official b Lgfl;b:Ljava/util/List;
  • Constructor Details

    • ModelOverride

      public ModelOverride(Identifier modelId, List<ModelOverride.Condition> conditions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelOverride;<init>(Lnet/minecraft/util/Identifier;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_799;<init>(Lnet/minecraft/class_2960;Ljava/util/List;)V
      official <init> Lgfl;<init>(Lakk;Ljava/util/List;)V
  • Method Details

    • getModelId

      public Identifier getModelId()
      Mappings:
      Namespace Name Mixin selector
      named getModelId Lnet/minecraft/client/render/model/json/ModelOverride;getModelId()Lnet/minecraft/util/Identifier;
      intermediary method_3472 Lnet/minecraft/class_799;method_3472()Lnet/minecraft/class_2960;
      official a Lgfl;a()Lakk;
    • streamConditions

      public Stream<ModelOverride.Condition> streamConditions()
      Mappings:
      Namespace Name Mixin selector
      named streamConditions Lnet/minecraft/client/render/model/json/ModelOverride;streamConditions()Ljava/util/stream/Stream;
      intermediary method_33690 Lnet/minecraft/class_799;method_33690()Ljava/util/stream/Stream;
      official b Lgfl;b()Ljava/util/stream/Stream;