Class ModelPartData

java.lang.Object
net.minecraft.client.model.ModelPartData

@Environment(CLIENT) public class ModelPartData extends Object
Mappings:
Namespace Name
named net/minecraft/client/model/ModelPartData
intermediary net/minecraft/class_5610
official gex
  • Field Details

    • cuboidData

      private final List<ModelCuboidData> cuboidData
      Mappings:
      Namespace Name Mixin selector
      named cuboidData Lnet/minecraft/client/model/ModelPartData;cuboidData:Ljava/util/List;
      intermediary field_27728 Lnet/minecraft/class_5610;field_27728:Ljava/util/List;
      official a Lgex;a:Ljava/util/List;
    • rotationData

      private final ModelTransform rotationData
      Mappings:
      Namespace Name Mixin selector
      named rotationData Lnet/minecraft/client/model/ModelPartData;rotationData:Lnet/minecraft/client/model/ModelTransform;
      intermediary field_27729 Lnet/minecraft/class_5610;field_27729:Lnet/minecraft/class_5603;
      official b Lgex;b:Lgep;
    • children

      private final Map<String,ModelPartData> children
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/model/ModelPartData;children:Ljava/util/Map;
      intermediary field_27730 Lnet/minecraft/class_5610;field_27730:Ljava/util/Map;
      official c Lgex;c:Ljava/util/Map;
  • Constructor Details

    • ModelPartData

      ModelPartData(List<ModelCuboidData> cuboidData, ModelTransform rotationData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/model/ModelPartData;<init>(Ljava/util/List;Lnet/minecraft/client/model/ModelTransform;)V
      intermediary <init> Lnet/minecraft/class_5610;<init>(Ljava/util/List;Lnet/minecraft/class_5603;)V
      official <init> Lgex;<init>(Ljava/util/List;Lgep;)V
  • Method Details

    • addChild

      public ModelPartData addChild(String name, ModelPartBuilder builder, ModelTransform rotationData)
      Mappings:
      Namespace Name Mixin selector
      named addChild Lnet/minecraft/client/model/ModelPartData;addChild(Ljava/lang/String;Lnet/minecraft/client/model/ModelPartBuilder;Lnet/minecraft/client/model/ModelTransform;)Lnet/minecraft/client/model/ModelPartData;
      intermediary method_32117 Lnet/minecraft/class_5610;method_32117(Ljava/lang/String;Lnet/minecraft/class_5606;Lnet/minecraft/class_5603;)Lnet/minecraft/class_5610;
      official a Lgex;a(Ljava/lang/String;Lges;Lgep;)Lgex;
    • addChild

      public ModelPartData addChild(String name, ModelPartData data)
      Mappings:
      Namespace Name Mixin selector
      named addChild Lnet/minecraft/client/model/ModelPartData;addChild(Ljava/lang/String;Lnet/minecraft/client/model/ModelPartData;)Lnet/minecraft/client/model/ModelPartData;
      intermediary method_62143 Lnet/minecraft/class_5610;method_62143(Ljava/lang/String;Lnet/minecraft/class_5610;)Lnet/minecraft/class_5610;
      official a Lgex;a(Ljava/lang/String;Lgex;)Lgex;
    • addChild

      public ModelPartData addChild(String name)
      Mappings:
      Namespace Name Mixin selector
      named addChild Lnet/minecraft/client/model/ModelPartData;addChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPartData;
      intermediary method_62142 Lnet/minecraft/class_5610;method_62142(Ljava/lang/String;)Lnet/minecraft/class_5610;
      official a Lgex;a(Ljava/lang/String;)Lgex;
    • createPart

      public ModelPart createPart(int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      named createPart Lnet/minecraft/client/model/ModelPartData;createPart(II)Lnet/minecraft/client/model/ModelPart;
      intermediary method_32112 Lnet/minecraft/class_5610;method_32112(II)Lnet/minecraft/class_630;
      official a Lgex;a(II)Lgen;
    • getChild

      public ModelPartData getChild(String name)
      Mappings:
      Namespace Name Mixin selector
      named getChild Lnet/minecraft/client/model/ModelPartData;getChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPartData;
      intermediary method_32116 Lnet/minecraft/class_5610;method_32116(Ljava/lang/String;)Lnet/minecraft/class_5610;
      official b Lgex;b(Ljava/lang/String;)Lgex;
    • getChildren

      public Set<Map.Entry<String,ModelPartData>> getChildren()
      Mappings:
      Namespace Name Mixin selector
      named getChildren Lnet/minecraft/client/model/ModelPartData;getChildren()Ljava/util/Set;
      intermediary method_62141 Lnet/minecraft/class_5610;method_62141()Ljava/util/Set;
      official a Lgex;a()Ljava/util/Set;
    • applyTransformer

      public ModelPartData applyTransformer(UnaryOperator<ModelTransform> transformer)
      Mappings:
      Namespace Name Mixin selector
      named applyTransformer Lnet/minecraft/client/model/ModelPartData;applyTransformer(Ljava/util/function/UnaryOperator;)Lnet/minecraft/client/model/ModelPartData;
      intermediary method_62144 Lnet/minecraft/class_5610;method_62144(Ljava/util/function/UnaryOperator;)Lnet/minecraft/class_5610;
      official a Lgex;a(Ljava/util/function/UnaryOperator;)Lgex;