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
named net/minecraft/client/render/model/ModelLoader$ModelDefinition
intermediary net/minecraft/class_1088$class_4455
official grh$e
  • Field Details

    • components

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

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

    • ModelDefinition

      public ModelDefinition(List<UnbakedModel> components, List<Object> values)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;<init>(Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1088$class_4455;<init>(Ljava/util/List;Ljava/util/List;)V
      official <init> Lgrh$e;<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
      named equals Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1088$class_4455;equals(Ljava/lang/Object;)Z
      official equals Lgrh$e;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
      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;
      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;
      official a Lgrh$e;a(Ldse;Lgff;Ljava/util/Collection;)Lgrh$e;
    • create

      public static ModelLoader.ModelDefinition create(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lgrh$e;a(Ldse;Lgrn;Ljava/util/Collection;)Lgrh$e;
    • getStateValues

      private static List<Object> getStateValues(BlockState state, Collection<Property<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      named getStateValues Lnet/minecraft/client/render/model/ModelLoader$ModelDefinition;getStateValues(Lnet/minecraft/block/BlockState;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;
      official a Lgrh$e;a(Ldse;Ljava/util/Collection;)Ljava/util/List;