Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
Namespace Name official ezgintermediary 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>private ModelTransformstatic final floatbooleanfloatfloatfloatfloatfloatbooleanfloatfloatfloatfloat -
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) booleanbooleanisEmpty()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) voidvoidrotate(MatrixStack matrices) voidvoidvoidsetAngles(float pitch, float yaw, float roll) voidsetDefaultTransform(ModelTransform transform) voidsetPivot(float x, float y, float z) voidsetTransform(ModelTransform rotationData) voidtraverse()
-
Field Details
-
field_37937
public static final float field_37937- See Also:
- Mappings:
Namespace Name Mixin selector official aLezg;a:Fintermediary field_37937Lnet/minecraft/class_630;field_37937:Fnamed field_37937Lnet/minecraft/client/model/ModelPart;field_37937:F
-
pivotX
public float pivotX- Mappings:
Namespace Name Mixin selector official bLezg;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 cLezg;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 dLezg;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 eLezg;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 fLezg;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 gLezg;g:Fintermediary field_3674Lnet/minecraft/class_630;field_3674:Fnamed rollLnet/minecraft/client/model/ModelPart;roll:F
-
xScale
public float xScale- Mappings:
Namespace Name Mixin selector official hLezg;h:Fintermediary field_37938Lnet/minecraft/class_630;field_37938:Fnamed xScaleLnet/minecraft/client/model/ModelPart;xScale:F
-
yScale
public float yScale- Mappings:
Namespace Name Mixin selector official iLezg;i:Fintermediary field_37939Lnet/minecraft/class_630;field_37939:Fnamed yScaleLnet/minecraft/client/model/ModelPart;yScale:F
-
zScale
public float zScale- Mappings:
Namespace Name Mixin selector official jLezg;j:Fintermediary field_37940Lnet/minecraft/class_630;field_37940:Fnamed zScaleLnet/minecraft/client/model/ModelPart;zScale:F
-
visible
public boolean visible- Mappings:
Namespace Name Mixin selector official kLezg;k:Zintermediary field_3665Lnet/minecraft/class_630;field_3665:Znamed visibleLnet/minecraft/client/model/ModelPart;visible:Z
-
cuboids
- Mappings:
Namespace Name Mixin selector official mLezg;m: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 nLezg;n:Ljava/util/Map;intermediary field_3661Lnet/minecraft/class_630;field_3661:Ljava/util/Map;named childrenLnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;
-
defaultTransform
- Mappings:
Namespace Name Mixin selector official oLezg;o:Lezi;intermediary field_37941Lnet/minecraft/class_630;field_37941:Lnet/minecraft/class_5603;named defaultTransformLnet/minecraft/client/model/ModelPart;defaultTransform:Lnet/minecraft/client/model/ModelTransform;
-
-
Constructor Details
-
ModelPart
- Mappings:
Namespace Name Mixin selector official <init>Lezg;<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 aLezg;a()Lezi;intermediary method_32084Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;named getTransformLnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;
-
getDefaultTransform
- Mappings:
Namespace Name Mixin selector official bLezg;b()Lezi;intermediary method_41921Lnet/minecraft/class_630;method_41921()Lnet/minecraft/class_5603;named getDefaultTransformLnet/minecraft/client/model/ModelPart;getDefaultTransform()Lnet/minecraft/client/model/ModelTransform;
-
setDefaultTransform
- Mappings:
Namespace Name Mixin selector official aLezg;a(Lezi;)Vintermediary method_41918Lnet/minecraft/class_630;method_41918(Lnet/minecraft/class_5603;)Vnamed setDefaultTransformLnet/minecraft/client/model/ModelPart;setDefaultTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
resetTransform
public void resetTransform()- Mappings:
Namespace Name Mixin selector official cLezg;c()Vintermediary method_41923Lnet/minecraft/class_630;method_41923()Vnamed resetTransformLnet/minecraft/client/model/ModelPart;resetTransform()V
-
setTransform
- Mappings:
Namespace Name Mixin selector official bLezg;b(Lezi;)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 aLezg;a(Lezg;)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
-
hasChild
- Mappings:
Namespace Name Mixin selector official aLezg;a(Ljava/lang/String;)Zintermediary method_41919Lnet/minecraft/class_630;method_41919(Ljava/lang/String;)Znamed hasChildLnet/minecraft/client/model/ModelPart;hasChild(Ljava/lang/String;)Z
-
getChild
- Mappings:
Namespace Name Mixin selector official bLezg;b(Ljava/lang/String;)Lezg;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 aLezg;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 bLezg;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 aLezg;a(Leer;Leev;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 aLezg;a(Leer;Leev;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 aLezg;a(Leer;Lezg$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 aLezg;a(Leer;Lezg$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 aLezg;a(Leer;)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 aLezg;a(Leer$a;Leev;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 aLezg;a(Laos;)Lezg$a;intermediary method_22700Lnet/minecraft/class_630;method_22700(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630$class_628;named getRandomCuboidLnet/minecraft/client/model/ModelPart;getRandomCuboid(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/model/ModelPart$Cuboid;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official dLezg;d()Zintermediary method_32087Lnet/minecraft/class_630;method_32087()Znamed isEmptyLnet/minecraft/client/model/ModelPart;isEmpty()Z
-
translate
- Mappings:
Namespace Name Mixin selector official aLezg;a(Lorg/joml/Vector3f;)Vintermediary method_41920Lnet/minecraft/class_630;method_41920(Lorg/joml/Vector3f;)Vnamed translateLnet/minecraft/client/model/ModelPart;translate(Lorg/joml/Vector3f;)V
-
rotate
- Mappings:
Namespace Name Mixin selector official bLezg;b(Lorg/joml/Vector3f;)Vintermediary method_41922Lnet/minecraft/class_630;method_41922(Lorg/joml/Vector3f;)Vnamed rotateLnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Vector3f;)V
-
scale
- Mappings:
Namespace Name Mixin selector official cLezg;c(Lorg/joml/Vector3f;)Vintermediary method_41924Lnet/minecraft/class_630;method_41924(Lorg/joml/Vector3f;)Vnamed scaleLnet/minecraft/client/model/ModelPart;scale(Lorg/joml/Vector3f;)V
-
traverse
- Mappings:
Namespace Name Mixin selector official eLezg;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;
-