Class ModelPartData

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

@Environment(CLIENT) public class ModelPartData extends Object
Mappings:
Namespace Name
official fil
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 Lfil;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 Lfil;b:Lfie;
      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 Lfil;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> Lfil;<init>(Ljava/util/List;Lfie;)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 Lfil;a(Ljava/lang/String;Lfih;Lfie;)Lfil;
      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 Lfil;a(II)Lfic;
      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 Lfil;a(Ljava/lang/String;)Lfil;
      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;