Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
- Namespace - Name - named - net/minecraft/client/model/ModelPart- intermediary - net/minecraft/class_630- official - gfe
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic final recordstatic final record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<ModelPart.Cuboid> private ModelTransformstatic final floatbooleanfloatfloatfloatfloatfloatbooleanfloatfloatfloatfloat
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopyTransform(ModelPart part) voidforEachCuboid(MatrixStack matrices, ModelPart.CuboidConsumer consumer) private voidforEachCuboid(MatrixStack matrices, ModelPart.CuboidConsumer consumer, String path) getRandomCuboid(Random random) booleanbooleanisEmpty()voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) private voidrenderCuboids(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, int color) voidvoidrotate(MatrixStack matrices) voidrotate(Quaternionf quaternion) voidvoidvoidsetAngles(float pitch, float yaw, float roll) voidsetDefaultTransform(ModelTransform transform) voidsetPivot(float x, float y, float z) voidsetTransform(ModelTransform rotationData) voidtraverse()
- 
Field Details- 
field_37937public static final float field_37937- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_37937- Lnet/minecraft/client/model/ModelPart;field_37937:F- intermediary - field_37937- Lnet/minecraft/class_630;field_37937:F- official - a- Lgfe;a:F
 
- 
pivotXpublic float pivotX- Mappings:
- Namespace - Name - Mixin selector - named - pivotX- Lnet/minecraft/client/model/ModelPart;pivotX:F- intermediary - field_3657- Lnet/minecraft/class_630;field_3657:F- official - b- Lgfe;b:F
 
- 
pivotYpublic float pivotY- Mappings:
- Namespace - Name - Mixin selector - named - pivotY- Lnet/minecraft/client/model/ModelPart;pivotY:F- intermediary - field_3656- Lnet/minecraft/class_630;field_3656:F- official - c- Lgfe;c:F
 
- 
pivotZpublic float pivotZ- Mappings:
- Namespace - Name - Mixin selector - named - pivotZ- Lnet/minecraft/client/model/ModelPart;pivotZ:F- intermediary - field_3655- Lnet/minecraft/class_630;field_3655:F- official - d- Lgfe;d:F
 
- 
pitchpublic float pitch- Mappings:
- Namespace - Name - Mixin selector - named - pitch- Lnet/minecraft/client/model/ModelPart;pitch:F- intermediary - field_3654- Lnet/minecraft/class_630;field_3654:F- official - e- Lgfe;e:F
 
- 
yawpublic float yaw- Mappings:
- Namespace - Name - Mixin selector - named - yaw- Lnet/minecraft/client/model/ModelPart;yaw:F- intermediary - field_3675- Lnet/minecraft/class_630;field_3675:F- official - f- Lgfe;f:F
 
- 
rollpublic float roll- Mappings:
- Namespace - Name - Mixin selector - named - roll- Lnet/minecraft/client/model/ModelPart;roll:F- intermediary - field_3674- Lnet/minecraft/class_630;field_3674:F- official - g- Lgfe;g:F
 
- 
xScalepublic float xScale- Mappings:
- Namespace - Name - Mixin selector - named - xScale- Lnet/minecraft/client/model/ModelPart;xScale:F- intermediary - field_37938- Lnet/minecraft/class_630;field_37938:F- official - h- Lgfe;h:F
 
- 
yScalepublic float yScale- Mappings:
- Namespace - Name - Mixin selector - named - yScale- Lnet/minecraft/client/model/ModelPart;yScale:F- intermediary - field_37939- Lnet/minecraft/class_630;field_37939:F- official - i- Lgfe;i:F
 
- 
zScalepublic float zScale- Mappings:
- Namespace - Name - Mixin selector - named - zScale- Lnet/minecraft/client/model/ModelPart;zScale:F- intermediary - field_37940- Lnet/minecraft/class_630;field_37940:F- official - j- Lgfe;j:F
 
- 
visiblepublic boolean visible- Mappings:
- Namespace - Name - Mixin selector - named - visible- Lnet/minecraft/client/model/ModelPart;visible:Z- intermediary - field_3665- Lnet/minecraft/class_630;field_3665:Z- official - k- Lgfe;k:Z
 
- 
cuboids- Mappings:
- Namespace - Name - Mixin selector - named - cuboids- Lnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;- intermediary - field_3663- Lnet/minecraft/class_630;field_3663:Ljava/util/List;- official - m- Lgfe;m:Ljava/util/List;
 
- 
children- Mappings:
- Namespace - Name - Mixin selector - named - children- Lnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;- intermediary - field_3661- Lnet/minecraft/class_630;field_3661:Ljava/util/Map;- official - n- Lgfe;n:Ljava/util/Map;
 
- 
defaultTransform- Mappings:
- Namespace - Name - Mixin selector - named - defaultTransform- Lnet/minecraft/client/model/ModelPart;defaultTransform:Lnet/minecraft/client/model/ModelTransform;- intermediary - field_37941- Lnet/minecraft/class_630;field_37941:Lnet/minecraft/class_5603;- official - o- Lgfe;o:Lgfg;
 
 
- 
- 
Constructor Details- 
ModelPart- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/model/ModelPart;<init>(Ljava/util/List;Ljava/util/Map;)V- intermediary - <init>- Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)V- official - <init>- Lgfe;<init>(Ljava/util/List;Ljava/util/Map;)V
 
 
- 
- 
Method Details- 
getTransform- Mappings:
- Namespace - Name - Mixin selector - named - getTransform- Lnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;- intermediary - method_32084- Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;- official - a- Lgfe;a()Lgfg;
 
- 
getDefaultTransform- Mappings:
- Namespace - Name - Mixin selector - named - getDefaultTransform- Lnet/minecraft/client/model/ModelPart;getDefaultTransform()Lnet/minecraft/client/model/ModelTransform;- intermediary - method_41921- Lnet/minecraft/class_630;method_41921()Lnet/minecraft/class_5603;- official - b- Lgfe;b()Lgfg;
 
- 
setDefaultTransform- Mappings:
- Namespace - Name - Mixin selector - named - setDefaultTransform- Lnet/minecraft/client/model/ModelPart;setDefaultTransform(Lnet/minecraft/client/model/ModelTransform;)V- intermediary - method_41918- Lnet/minecraft/class_630;method_41918(Lnet/minecraft/class_5603;)V- official - a- Lgfe;a(Lgfg;)V
 
- 
resetTransformpublic void resetTransform()- Mappings:
- Namespace - Name - Mixin selector - named - resetTransform- Lnet/minecraft/client/model/ModelPart;resetTransform()V- intermediary - method_41923- Lnet/minecraft/class_630;method_41923()V- official - c- Lgfe;c()V
 
- 
setTransform- Mappings:
- Namespace - Name - Mixin selector - named - setTransform- Lnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)V- intermediary - method_32085- Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)V- official - b- Lgfe;b(Lgfg;)V
 
- 
copyTransform- Mappings:
- Namespace - Name - Mixin selector - named - copyTransform- Lnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)V- intermediary - method_17138- Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)V- official - a- Lgfe;a(Lgfe;)V
 
- 
hasChild- Mappings:
- Namespace - Name - Mixin selector - named - hasChild- Lnet/minecraft/client/model/ModelPart;hasChild(Ljava/lang/String;)Z- intermediary - method_41919- Lnet/minecraft/class_630;method_41919(Ljava/lang/String;)Z- official - a- Lgfe;a(Ljava/lang/String;)Z
 
- 
getChild- Mappings:
- Namespace - Name - Mixin selector - named - getChild- Lnet/minecraft/client/model/ModelPart;getChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPart;- intermediary - method_32086- Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;- official - b- Lgfe;b(Ljava/lang/String;)Lgfe;
 
- 
setPivotpublic void setPivot(float x, float y, float z) - Mappings:
- Namespace - Name - Mixin selector - named - setPivot- Lnet/minecraft/client/model/ModelPart;setPivot(FFF)V- intermediary - method_2851- Lnet/minecraft/class_630;method_2851(FFF)V- official - a- Lgfe;a(FFF)V
 
- 
setAnglespublic void setAngles(float pitch, float yaw, float roll) - Mappings:
- Namespace - Name - Mixin selector - named - setAngles- Lnet/minecraft/client/model/ModelPart;setAngles(FFF)V- intermediary - method_33425- Lnet/minecraft/class_630;method_33425(FFF)V- official - b- Lgfe;b(FFF)V
 
- 
render- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V- intermediary - method_22698- Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V- official - a- Lgfe;a(Lffv;Lffz;II)V
 
- 
renderpublic void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, int color) - Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)V- intermediary - method_22699- Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V- official - a- Lgfe;a(Lffv;Lffz;III)V
 
- 
rotate- Mappings:
- Namespace - Name - Mixin selector - named - rotate- Lnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Quaternionf;)V- intermediary - method_62132- Lnet/minecraft/class_630;method_62132(Lorg/joml/Quaternionf;)V- official - a- Lgfe;a(Lorg/joml/Quaternionf;)V
 
- 
forEachCuboid- Mappings:
- Namespace - Name - Mixin selector - named - forEachCuboid- Lnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;)V- intermediary - method_35745- Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)V- official - a- Lgfe;a(Lffv;Lgfe$d;)V
 
- 
forEachCuboid- Mappings:
- Namespace - Name - Mixin selector - named - forEachCuboid- Lnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;Ljava/lang/String;)V- intermediary - method_35746- Lnet/minecraft/class_630;method_35746(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)V- official - a- Lgfe;a(Lffv;Lgfe$d;Ljava/lang/String;)V
 
- 
rotate- Mappings:
- Namespace - Name - Mixin selector - named - rotate- Lnet/minecraft/client/model/ModelPart;rotate(Lnet/minecraft/client/util/math/MatrixStack;)V- intermediary - method_22703- Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)V- official - a- Lgfe;a(Lffv;)V
 
- 
renderCuboidsprivate void renderCuboids(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, int color) - Mappings:
- Namespace - Name - Mixin selector - named - renderCuboids- Lnet/minecraft/client/model/ModelPart;renderCuboids(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;III)V- intermediary - method_22702- Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;III)V- official - a- Lgfe;a(Lffv$a;Lffz;III)V
 
- 
getRandomCuboid- Mappings:
- Namespace - Name - Mixin selector - named - getRandomCuboid- Lnet/minecraft/client/model/ModelPart;getRandomCuboid(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/model/ModelPart$Cuboid;- intermediary - method_22700- Lnet/minecraft/class_630;method_22700(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630$class_628;- official - a- Lgfe;a(Lazh;)Lgfe$a;
 
- 
isEmptypublic boolean isEmpty()- Mappings:
- Namespace - Name - Mixin selector - named - isEmpty- Lnet/minecraft/client/model/ModelPart;isEmpty()Z- intermediary - method_32087- Lnet/minecraft/class_630;method_32087()Z- official - d- Lgfe;d()Z
 
- 
translate- Mappings:
- Namespace - Name - Mixin selector - named - translate- Lnet/minecraft/client/model/ModelPart;translate(Lorg/joml/Vector3f;)V- intermediary - method_41920- Lnet/minecraft/class_630;method_41920(Lorg/joml/Vector3f;)V- official - a- Lgfe;a(Lorg/joml/Vector3f;)V
 
- 
rotate- Mappings:
- Namespace - Name - Mixin selector - named - rotate- Lnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Vector3f;)V- intermediary - method_41922- Lnet/minecraft/class_630;method_41922(Lorg/joml/Vector3f;)V- official - b- Lgfe;b(Lorg/joml/Vector3f;)V
 
- 
scale- Mappings:
- Namespace - Name - Mixin selector - named - scale- Lnet/minecraft/client/model/ModelPart;scale(Lorg/joml/Vector3f;)V- intermediary - method_41924- Lnet/minecraft/class_630;method_41924(Lorg/joml/Vector3f;)V- official - c- Lgfe;c(Lorg/joml/Vector3f;)V
 
- 
traverse- Mappings:
- Namespace - Name - Mixin selector - named - traverse- Lnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;- intermediary - method_32088- Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;- official - e- Lgfe;e()Ljava/util/stream/Stream;
 
 
-