Class ModelOverride

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

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

    • modelId

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

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

    • ModelOverride

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

    • getModelId

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

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