Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
Namespace Name intermediary net/minecraft/class_630official fdtnamed 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 intermediary field_37937Lnet/minecraft/class_630;field_37937:Fofficial aLfdt;a:Fnamed field_37937Lnet/minecraft/client/model/ModelPart;field_37937:F
-
pivotX
public float pivotX- Mappings:
Namespace Name Mixin selector intermediary field_3657Lnet/minecraft/class_630;field_3657:Fofficial bLfdt;b:Fnamed pivotXLnet/minecraft/client/model/ModelPart;pivotX:F
-
pivotY
public float pivotY- Mappings:
Namespace Name Mixin selector intermediary field_3656Lnet/minecraft/class_630;field_3656:Fofficial cLfdt;c:Fnamed pivotYLnet/minecraft/client/model/ModelPart;pivotY:F
-
pivotZ
public float pivotZ- Mappings:
Namespace Name Mixin selector intermediary field_3655Lnet/minecraft/class_630;field_3655:Fofficial dLfdt;d:Fnamed pivotZLnet/minecraft/client/model/ModelPart;pivotZ:F
-
pitch
public float pitch- Mappings:
Namespace Name Mixin selector intermediary field_3654Lnet/minecraft/class_630;field_3654:Fofficial eLfdt;e:Fnamed pitchLnet/minecraft/client/model/ModelPart;pitch:F
-
yaw
public float yaw- Mappings:
Namespace Name Mixin selector intermediary field_3675Lnet/minecraft/class_630;field_3675:Fofficial fLfdt;f:Fnamed yawLnet/minecraft/client/model/ModelPart;yaw:F
-
roll
public float roll- Mappings:
Namespace Name Mixin selector intermediary field_3674Lnet/minecraft/class_630;field_3674:Fofficial gLfdt;g:Fnamed rollLnet/minecraft/client/model/ModelPart;roll:F
-
xScale
public float xScale- Mappings:
Namespace Name Mixin selector intermediary field_37938Lnet/minecraft/class_630;field_37938:Fofficial hLfdt;h:Fnamed xScaleLnet/minecraft/client/model/ModelPart;xScale:F
-
yScale
public float yScale- Mappings:
Namespace Name Mixin selector intermediary field_37939Lnet/minecraft/class_630;field_37939:Fofficial iLfdt;i:Fnamed yScaleLnet/minecraft/client/model/ModelPart;yScale:F
-
zScale
public float zScale- Mappings:
Namespace Name Mixin selector intermediary field_37940Lnet/minecraft/class_630;field_37940:Fofficial jLfdt;j:Fnamed zScaleLnet/minecraft/client/model/ModelPart;zScale:F
-
visible
public boolean visible- Mappings:
Namespace Name Mixin selector intermediary field_3665Lnet/minecraft/class_630;field_3665:Zofficial kLfdt;k:Znamed visibleLnet/minecraft/client/model/ModelPart;visible:Z
-
cuboids
- Mappings:
Namespace Name Mixin selector intermediary field_3663Lnet/minecraft/class_630;field_3663:Ljava/util/List;official mLfdt;m:Ljava/util/List;named cuboidsLnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector intermediary field_3661Lnet/minecraft/class_630;field_3661:Ljava/util/Map;official nLfdt;n:Ljava/util/Map;named childrenLnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;
-
defaultTransform
- Mappings:
Namespace Name Mixin selector intermediary field_37941Lnet/minecraft/class_630;field_37941:Lnet/minecraft/class_5603;official oLfdt;o:Lfdv;named defaultTransformLnet/minecraft/client/model/ModelPart;defaultTransform:Lnet/minecraft/client/model/ModelTransform;
-
-
Constructor Details
-
ModelPart
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)Vofficial <init>Lfdt;<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 intermediary method_32084Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;official aLfdt;a()Lfdv;named getTransformLnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;
-
getDefaultTransform
- Mappings:
Namespace Name Mixin selector intermediary method_41921Lnet/minecraft/class_630;method_41921()Lnet/minecraft/class_5603;official bLfdt;b()Lfdv;named getDefaultTransformLnet/minecraft/client/model/ModelPart;getDefaultTransform()Lnet/minecraft/client/model/ModelTransform;
-
setDefaultTransform
- Mappings:
Namespace Name Mixin selector intermediary method_41918Lnet/minecraft/class_630;method_41918(Lnet/minecraft/class_5603;)Vofficial aLfdt;a(Lfdv;)Vnamed setDefaultTransformLnet/minecraft/client/model/ModelPart;setDefaultTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
resetTransform
public void resetTransform()- Mappings:
Namespace Name Mixin selector intermediary method_41923Lnet/minecraft/class_630;method_41923()Vofficial cLfdt;c()Vnamed resetTransformLnet/minecraft/client/model/ModelPart;resetTransform()V
-
setTransform
- Mappings:
Namespace Name Mixin selector intermediary method_32085Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)Vofficial bLfdt;b(Lfdv;)Vnamed setTransformLnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
copyTransform
- Mappings:
Namespace Name Mixin selector intermediary method_17138Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)Vofficial aLfdt;a(Lfdt;)Vnamed copyTransformLnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)V
-
hasChild
- Mappings:
Namespace Name Mixin selector intermediary method_41919Lnet/minecraft/class_630;method_41919(Ljava/lang/String;)Zofficial aLfdt;a(Ljava/lang/String;)Znamed hasChildLnet/minecraft/client/model/ModelPart;hasChild(Ljava/lang/String;)Z
-
getChild
- Mappings:
Namespace Name Mixin selector intermediary method_32086Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;official bLfdt;b(Ljava/lang/String;)Lfdt;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 intermediary method_2851Lnet/minecraft/class_630;method_2851(FFF)Vofficial aLfdt;a(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 intermediary method_33425Lnet/minecraft/class_630;method_33425(FFF)Vofficial bLfdt;b(FFF)Vnamed setAnglesLnet/minecraft/client/model/ModelPart;setAngles(FFF)V
-
render
- Mappings:
Namespace Name Mixin selector intermediary method_22698Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)Vofficial aLfdt;a(Leib;Leif;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 intermediary method_22699Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vofficial aLfdt;a(Leib;Leif;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 intermediary method_35745Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)Vofficial aLfdt;a(Leib;Lfdt$d;)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 intermediary method_35746Lnet/minecraft/class_630;method_35746(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)Vofficial aLfdt;a(Leib;Lfdt$d;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 intermediary method_22703Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)Vofficial aLfdt;a(Leib;)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 intermediary method_22702Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)Vofficial aLfdt;a(Leib$a;Leif;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 intermediary method_22700Lnet/minecraft/class_630;method_22700(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630$class_628;official aLfdt;a(Lapf;)Lfdt$a;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 intermediary method_32087Lnet/minecraft/class_630;method_32087()Zofficial dLfdt;d()Znamed isEmptyLnet/minecraft/client/model/ModelPart;isEmpty()Z
-
translate
- Mappings:
Namespace Name Mixin selector intermediary method_41920Lnet/minecraft/class_630;method_41920(Lorg/joml/Vector3f;)Vofficial aLfdt;a(Lorg/joml/Vector3f;)Vnamed translateLnet/minecraft/client/model/ModelPart;translate(Lorg/joml/Vector3f;)V
-
rotate
- Mappings:
Namespace Name Mixin selector intermediary method_41922Lnet/minecraft/class_630;method_41922(Lorg/joml/Vector3f;)Vofficial bLfdt;b(Lorg/joml/Vector3f;)Vnamed rotateLnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Vector3f;)V
-
scale
- Mappings:
Namespace Name Mixin selector intermediary method_41924Lnet/minecraft/class_630;method_41924(Lorg/joml/Vector3f;)Vofficial cLfdt;c(Lorg/joml/Vector3f;)Vnamed scaleLnet/minecraft/client/model/ModelPart;scale(Lorg/joml/Vector3f;)V
-
traverse
- Mappings:
Namespace Name Mixin selector intermediary method_32088Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;official eLfdt;e()Ljava/util/stream/Stream;named traverseLnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;
-