Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
Namespace Name official emsintermediary net/minecraft/class_630named net/minecraft/client/model/ModelPart
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ModelPart.Cuboid>static final floatfloatfloatfloatprivate ModelTransformfloatfloatfloatfloatfloatbooleanfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyTransform(ModelPart part) voidforEachCuboid(MatrixStack matrices, ModelPart.CuboidConsumer consumer) private voidforEachCuboid(MatrixStack matrices, ModelPart.CuboidConsumer consumer, String path) getRandomCuboid(Random random) booleanisEmpty()voidmethod_42987(ModelTransform modelTransform) booleanmethod_42988(String string) voidmethod_42989(Vec3f vec3f) voidmethod_42991(Vec3f vec3f) voidvoidmethod_42993(Vec3f vec3f) voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) private voidrenderCuboids(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) voidrotate(MatrixStack matrices) voidsetAngles(float pitch, float yaw, float roll) voidsetPivot(float x, float y, float z) voidsetTransform(ModelTransform rotationData) traverse()
-
Field Details
-
field_38657
public static final float field_38657- See Also:
- Mappings:
Namespace Name Mixin selector official aLems;a:Fintermediary field_38657Lnet/minecraft/class_630;field_38657:Fnamed field_38657Lnet/minecraft/client/model/ModelPart;field_38657:F
-
pivotX
public float pivotX- Mappings:
Namespace Name Mixin selector official bLems;b:Fintermediary field_3657Lnet/minecraft/class_630;field_3657:Fnamed pivotXLnet/minecraft/client/model/ModelPart;pivotX:F
-
pivotY
public float pivotY- Mappings:
Namespace Name Mixin selector official cLems;c:Fintermediary field_3656Lnet/minecraft/class_630;field_3656:Fnamed pivotYLnet/minecraft/client/model/ModelPart;pivotY:F
-
pivotZ
public float pivotZ- Mappings:
Namespace Name Mixin selector official dLems;d:Fintermediary field_3655Lnet/minecraft/class_630;field_3655:Fnamed pivotZLnet/minecraft/client/model/ModelPart;pivotZ:F
-
pitch
public float pitch- Mappings:
Namespace Name Mixin selector official eLems;e:Fintermediary field_3654Lnet/minecraft/class_630;field_3654:Fnamed pitchLnet/minecraft/client/model/ModelPart;pitch:F
-
yaw
public float yaw- Mappings:
Namespace Name Mixin selector official fLems;f:Fintermediary field_3675Lnet/minecraft/class_630;field_3675:Fnamed yawLnet/minecraft/client/model/ModelPart;yaw:F
-
roll
public float roll- Mappings:
Namespace Name Mixin selector official gLems;g:Fintermediary field_3674Lnet/minecraft/class_630;field_3674:Fnamed rollLnet/minecraft/client/model/ModelPart;roll:F
-
field_38658
public float field_38658- Mappings:
Namespace Name Mixin selector official hLems;h:Fintermediary field_38658Lnet/minecraft/class_630;field_38658:Fnamed field_38658Lnet/minecraft/client/model/ModelPart;field_38658:F
-
field_38659
public float field_38659- Mappings:
Namespace Name Mixin selector official iLems;i:Fintermediary field_38659Lnet/minecraft/class_630;field_38659:Fnamed field_38659Lnet/minecraft/client/model/ModelPart;field_38659:F
-
field_38660
public float field_38660- Mappings:
Namespace Name Mixin selector official jLems;j:Fintermediary field_38660Lnet/minecraft/class_630;field_38660:Fnamed field_38660Lnet/minecraft/client/model/ModelPart;field_38660:F
-
visible
public boolean visible- Mappings:
Namespace Name Mixin selector official kLems;k:Zintermediary field_3665Lnet/minecraft/class_630;field_3665:Znamed visibleLnet/minecraft/client/model/ModelPart;visible:Z
-
cuboids
- Mappings:
Namespace Name Mixin selector official lLems;l:Ljava/util/List;intermediary field_3663Lnet/minecraft/class_630;field_3663:Ljava/util/List;named cuboidsLnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector official mLems;m:Ljava/util/Map;intermediary field_3661Lnet/minecraft/class_630;field_3661:Ljava/util/Map;named childrenLnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;
-
field_38661
- Mappings:
Namespace Name Mixin selector official nLems;n:Lemu;intermediary field_38661Lnet/minecraft/class_630;field_38661:Lnet/minecraft/class_5603;named field_38661Lnet/minecraft/client/model/ModelPart;field_38661:Lnet/minecraft/client/model/ModelTransform;
-
-
Constructor Details
-
ModelPart
- Mappings:
Namespace Name Mixin selector official <init>Lems;<init>(Ljava/util/List;Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)Vnamed <init>Lnet/minecraft/client/model/ModelPart;<init>(Ljava/util/List;Ljava/util/Map;)V
-
-
Method Details
-
getTransform
- Mappings:
Namespace Name Mixin selector official aLems;a()Lemu;intermediary method_32084Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;named getTransformLnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;
-
method_42990
- Mappings:
Namespace Name Mixin selector official bLems;b()Lemu;intermediary method_42990Lnet/minecraft/class_630;method_42990()Lnet/minecraft/class_5603;named method_42990Lnet/minecraft/client/model/ModelPart;method_42990()Lnet/minecraft/client/model/ModelTransform;
-
method_42987
- Mappings:
Namespace Name Mixin selector official aLems;a(Lemu;)Vintermediary method_42987Lnet/minecraft/class_630;method_42987(Lnet/minecraft/class_5603;)Vnamed method_42987Lnet/minecraft/client/model/ModelPart;method_42987(Lnet/minecraft/client/model/ModelTransform;)V
-
method_42992
public void method_42992()- Mappings:
Namespace Name Mixin selector official cLems;c()Vintermediary method_42992Lnet/minecraft/class_630;method_42992()Vnamed method_42992Lnet/minecraft/client/model/ModelPart;method_42992()V
-
setTransform
- Mappings:
Namespace Name Mixin selector official bLems;b(Lemu;)Vintermediary method_32085Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)Vnamed setTransformLnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
copyTransform
- Mappings:
Namespace Name Mixin selector official aLems;a(Lems;)Vintermediary method_17138Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)Vnamed copyTransformLnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)V
-
method_42988
- Mappings:
Namespace Name Mixin selector official aLems;a(Ljava/lang/String;)Zintermediary method_42988Lnet/minecraft/class_630;method_42988(Ljava/lang/String;)Znamed method_42988Lnet/minecraft/client/model/ModelPart;method_42988(Ljava/lang/String;)Z
-
getChild
- Mappings:
Namespace Name Mixin selector official bLems;b(Ljava/lang/String;)Lems;intermediary method_32086Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;named getChildLnet/minecraft/client/model/ModelPart;getChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPart;
-
setPivot
public void setPivot(float x, float y, float z) - Mappings:
Namespace Name Mixin selector official aLems;a(FFF)Vintermediary method_2851Lnet/minecraft/class_630;method_2851(FFF)Vnamed setPivotLnet/minecraft/client/model/ModelPart;setPivot(FFF)V
-
setAngles
public void setAngles(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector official bLems;b(FFF)Vintermediary method_33425Lnet/minecraft/class_630;method_33425(FFF)Vnamed setAnglesLnet/minecraft/client/model/ModelPart;setAngles(FFF)V
-
render
- Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx;Ldub;II)Vintermediary method_22698Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)Vnamed renderLnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx;Ldub;IIFFFF)Vintermediary method_22699Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
forEachCuboid
- Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx;Lems$d;)Vintermediary method_35745Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)Vnamed forEachCuboidLnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;)V
-
forEachCuboid
- Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx;Lems$d;Ljava/lang/String;)Vintermediary method_35746Lnet/minecraft/class_630;method_35746(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)Vnamed forEachCuboidLnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;Ljava/lang/String;)V
-
rotate
- Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx;)Vintermediary method_22703Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)Vnamed rotateLnet/minecraft/client/model/ModelPart;rotate(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderCuboids
private void renderCuboids(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector official aLems;a(Ldtx$a;Ldub;IIFFFF)Vintermediary method_22702Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderCuboidsLnet/minecraft/client/model/ModelPart;renderCuboids(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
getRandomCuboid
- Mappings:
Namespace Name Mixin selector official aLems;a(Ljava/util/Random;)Lems$a;intermediary method_22700Lnet/minecraft/class_630;method_22700(Ljava/util/Random;)Lnet/minecraft/class_630$class_628;named getRandomCuboidLnet/minecraft/client/model/ModelPart;getRandomCuboid(Ljava/util/Random;)Lnet/minecraft/client/model/ModelPart$Cuboid;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official dLems;d()Zintermediary method_32087Lnet/minecraft/class_630;method_32087()Znamed isEmptyLnet/minecraft/client/model/ModelPart;isEmpty()Z
-
method_42989
- Mappings:
Namespace Name Mixin selector official aLems;a(Lk;)Vintermediary method_42989Lnet/minecraft/class_630;method_42989(Lnet/minecraft/class_1160;)Vnamed method_42989Lnet/minecraft/client/model/ModelPart;method_42989(Lnet/minecraft/util/math/Vec3f;)V
-
method_42991
- Mappings:
Namespace Name Mixin selector official bLems;b(Lk;)Vintermediary method_42991Lnet/minecraft/class_630;method_42991(Lnet/minecraft/class_1160;)Vnamed method_42991Lnet/minecraft/client/model/ModelPart;method_42991(Lnet/minecraft/util/math/Vec3f;)V
-
method_42993
- Mappings:
Namespace Name Mixin selector official cLems;c(Lk;)Vintermediary method_42993Lnet/minecraft/class_630;method_42993(Lnet/minecraft/class_1160;)Vnamed method_42993Lnet/minecraft/client/model/ModelPart;method_42993(Lnet/minecraft/util/math/Vec3f;)V
-
traverse
- Mappings:
Namespace Name Mixin selector official eLems;e()Ljava/util/stream/Stream;intermediary method_32088Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;named traverseLnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;
-