Class ModelPartData

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

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

    • cuboidData

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

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

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

    • ModelPartData

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

    • addChild

      public ModelPartData addChild(String name, ModelPartBuilder builder, ModelTransform rotationData)
      Mappings:
      Namespace Name Mixin selector
      official a Letd;a(Ljava/lang/String;Lesz;Lesw;)Letd;
      intermediary method_32117 Lnet/minecraft/class_5610;method_32117(Ljava/lang/String;Lnet/minecraft/class_5606;Lnet/minecraft/class_5603;)Lnet/minecraft/class_5610;
      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;
    • createPart

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

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