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 gew
  • 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 Lgew;a:Lalf;
    • 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 Lgew;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> Lgew;<init>(Lalf;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 Lgew;a()Lalf;
    • 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 Lgew;b()Ljava/util/stream/Stream;