Class ModelLoader.ModelDefinition

java.lang.Object
net.minecraft.client.render.model.ModelLoader.ModelDefinition
Enclosing class:
ModelLoader

@Environment(CLIENT) private static class ModelLoader.ModelDefinition extends Object
Mappings:
Namespace Name
official gbk$e
intermediary net/minecraft/class_1088$class_4455
named net/minecraft/client/render/model/ModelLoader$ModelDefinition
  • Field Details

    • components

      private final List<UnbakedModel> components
      Mappings:
      Namespace Name Mixin selector
      official a Lgbk$e;a:Ljava/util/List;
      intermediary field_20275 Lnet/minecraft/class_1088$class_4455;field_20275:Ljava/util/List;
      named components Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;components:Ljava/util/List;
    • values

      private final List<Object> values
      Mappings:
      Namespace Name Mixin selector
      official b Lgbk$e;b:Ljava/util/List;
      intermediary field_20276 Lnet/minecraft/class_1088$class_4455;field_20276:Ljava/util/List;
      named values Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;values:Ljava/util/List;
  • Constructor Details

    • ModelDefinition

      public ModelDefinition(List<UnbakedModel> components, List<Object> values)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgbk$e;<init>(Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1088$class_4455;<init>(Ljava/util/List;Ljava/util/List;)V
      named <init> Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;<init>(Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lgbk$e;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1088$class_4455;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static ModelLoader.ModelDefinition create(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgbk$e;a(Ldfj;Lfpt;Ljava/util/Collection;)Lgbk$e;
      intermediary method_21607 Lnet/minecraft/class_1088$class_4455;method_21607(Lnet/minecraft/class_2680;Lnet/minecraft/class_816;Ljava/util/Collection;)Lnet/minecraft/class_1088$class_4455;
      named create Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;create(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/render/model/MultipartUnbakedModel;Ljava/util/Collection;)Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;
    • create

      public static ModelLoader.ModelDefinition create(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgbk$e;a(Ldfj;Lgbq;Ljava/util/Collection;)Lgbk$e;
      intermediary method_21608 Lnet/minecraft/class_1088$class_4455;method_21608(Lnet/minecraft/class_2680;Lnet/minecraft/class_1100;Ljava/util/Collection;)Lnet/minecraft/class_1088$class_4455;
      named create Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;create(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/render/model/UnbakedModel;Ljava/util/Collection;)Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;
    • getStateValues

      private static List<Object> getStateValues(BlockState state, Collection<Property<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgbk$e;a(Ldfj;Ljava/util/Collection;)Ljava/util/List;
      intermediary method_21609 Lnet/minecraft/class_1088$class_4455;method_21609(Lnet/minecraft/class_2680;Ljava/util/Collection;)Ljava/util/List;
      named getStateValues Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;getStateValues(Lnet/minecraft/block/BlockState;Ljava/util/Collection;)Ljava/util/List;