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 fyt
  • 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 Lfyt;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 Lfyt;b:Lfym;
    • 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 Lfyt;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> Lfyt;<init>(Ljava/util/List;Lfym;)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 Lfyt;a(Ljava/lang/String;Lfyp;Lfym;)Lfyt;
    • 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 Lfyt;a(II)Lfyk;
    • 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 a Lfyt;a(Ljava/lang/String;)Lfyt;