Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
Namespace Name named net/minecraft/client/model/ModelPartintermediary net/minecraft/class_630official fxc
-
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 named field_37937Lnet/minecraft/client/model/ModelPart;field_37937:Fintermediary field_37937Lnet/minecraft/class_630;field_37937:Fofficial aLfxc;a:F
-
pivotX
public float pivotX- Mappings:
Namespace Name Mixin selector named pivotXLnet/minecraft/client/model/ModelPart;pivotX:Fintermediary field_3657Lnet/minecraft/class_630;field_3657:Fofficial bLfxc;b:F
-
pivotY
public float pivotY- Mappings:
Namespace Name Mixin selector named pivotYLnet/minecraft/client/model/ModelPart;pivotY:Fintermediary field_3656Lnet/minecraft/class_630;field_3656:Fofficial cLfxc;c:F
-
pivotZ
public float pivotZ- Mappings:
Namespace Name Mixin selector named pivotZLnet/minecraft/client/model/ModelPart;pivotZ:Fintermediary field_3655Lnet/minecraft/class_630;field_3655:Fofficial dLfxc;d:F
-
pitch
public float pitch- Mappings:
Namespace Name Mixin selector named pitchLnet/minecraft/client/model/ModelPart;pitch:Fintermediary field_3654Lnet/minecraft/class_630;field_3654:Fofficial eLfxc;e:F
-
yaw
public float yaw- Mappings:
Namespace Name Mixin selector named yawLnet/minecraft/client/model/ModelPart;yaw:Fintermediary field_3675Lnet/minecraft/class_630;field_3675:Fofficial fLfxc;f:F
-
roll
public float roll- Mappings:
Namespace Name Mixin selector named rollLnet/minecraft/client/model/ModelPart;roll:Fintermediary field_3674Lnet/minecraft/class_630;field_3674:Fofficial gLfxc;g:F
-
xScale
public float xScale- Mappings:
Namespace Name Mixin selector named xScaleLnet/minecraft/client/model/ModelPart;xScale:Fintermediary field_37938Lnet/minecraft/class_630;field_37938:Fofficial hLfxc;h:F
-
yScale
public float yScale- Mappings:
Namespace Name Mixin selector named yScaleLnet/minecraft/client/model/ModelPart;yScale:Fintermediary field_37939Lnet/minecraft/class_630;field_37939:Fofficial iLfxc;i:F
-
zScale
public float zScale- Mappings:
Namespace Name Mixin selector named zScaleLnet/minecraft/client/model/ModelPart;zScale:Fintermediary field_37940Lnet/minecraft/class_630;field_37940:Fofficial jLfxc;j:F
-
visible
public boolean visible- Mappings:
Namespace Name Mixin selector named visibleLnet/minecraft/client/model/ModelPart;visible:Zintermediary field_3665Lnet/minecraft/class_630;field_3665:Zofficial kLfxc;k:Z
-
cuboids
- Mappings:
Namespace Name Mixin selector named cuboidsLnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;intermediary field_3663Lnet/minecraft/class_630;field_3663:Ljava/util/List;official mLfxc;m:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;intermediary field_3661Lnet/minecraft/class_630;field_3661:Ljava/util/Map;official nLfxc;n:Ljava/util/Map;
-
defaultTransform
- Mappings:
Namespace Name Mixin selector named defaultTransformLnet/minecraft/client/model/ModelPart;defaultTransform:Lnet/minecraft/client/model/ModelTransform;intermediary field_37941Lnet/minecraft/class_630;field_37941:Lnet/minecraft/class_5603;official oLfxc;o:Lfxe;
-
-
Constructor Details
-
ModelPart
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/model/ModelPart;<init>(Ljava/util/List;Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)Vofficial <init>Lfxc;<init>(Ljava/util/List;Ljava/util/Map;)V
-
-
Method Details
-
getTransform
- Mappings:
Namespace Name Mixin selector named getTransformLnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;intermediary method_32084Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;official aLfxc;a()Lfxe;
-
getDefaultTransform
- Mappings:
Namespace Name Mixin selector named getDefaultTransformLnet/minecraft/client/model/ModelPart;getDefaultTransform()Lnet/minecraft/client/model/ModelTransform;intermediary method_41921Lnet/minecraft/class_630;method_41921()Lnet/minecraft/class_5603;official bLfxc;b()Lfxe;
-
setDefaultTransform
- Mappings:
Namespace Name Mixin selector named setDefaultTransformLnet/minecraft/client/model/ModelPart;setDefaultTransform(Lnet/minecraft/client/model/ModelTransform;)Vintermediary method_41918Lnet/minecraft/class_630;method_41918(Lnet/minecraft/class_5603;)Vofficial aLfxc;a(Lfxe;)V
-
resetTransform
public void resetTransform()- Mappings:
Namespace Name Mixin selector named resetTransformLnet/minecraft/client/model/ModelPart;resetTransform()Vintermediary method_41923Lnet/minecraft/class_630;method_41923()Vofficial cLfxc;c()V
-
setTransform
- Mappings:
Namespace Name Mixin selector named setTransformLnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)Vintermediary method_32085Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)Vofficial bLfxc;b(Lfxe;)V
-
copyTransform
- Mappings:
Namespace Name Mixin selector named copyTransformLnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)Vintermediary method_17138Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)Vofficial aLfxc;a(Lfxc;)V
-
hasChild
- Mappings:
Namespace Name Mixin selector named hasChildLnet/minecraft/client/model/ModelPart;hasChild(Ljava/lang/String;)Zintermediary method_41919Lnet/minecraft/class_630;method_41919(Ljava/lang/String;)Zofficial aLfxc;a(Ljava/lang/String;)Z
-
getChild
- Mappings:
Namespace Name Mixin selector named getChildLnet/minecraft/client/model/ModelPart;getChild(Ljava/lang/String;)Lnet/minecraft/client/model/ModelPart;intermediary method_32086Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;official bLfxc;b(Ljava/lang/String;)Lfxc;
-
setPivot
public void setPivot(float x, float y, float z) - Mappings:
Namespace Name Mixin selector named setPivotLnet/minecraft/client/model/ModelPart;setPivot(FFF)Vintermediary method_2851Lnet/minecraft/class_630;method_2851(FFF)Vofficial aLfxc;a(FFF)V
-
setAngles
public void setAngles(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/model/ModelPart;setAngles(FFF)Vintermediary method_33425Lnet/minecraft/class_630;method_33425(FFF)Vofficial bLfxc;b(FFF)V
-
render
- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;II)Vintermediary method_22698Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)Vofficial aLfxc;a(Lfaa;Lfae;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 named renderLnet/minecraft/client/model/ModelPart;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)Vintermediary method_22699Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vofficial aLfxc;a(Lfaa;Lfae;IIFFFF)V
-
forEachCuboid
- Mappings:
Namespace Name Mixin selector named forEachCuboidLnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;)Vintermediary method_35745Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)Vofficial aLfxc;a(Lfaa;Lfxc$d;)V
-
forEachCuboid
- Mappings:
Namespace Name Mixin selector named forEachCuboidLnet/minecraft/client/model/ModelPart;forEachCuboid(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/model/ModelPart$CuboidConsumer;Ljava/lang/String;)Vintermediary method_35746Lnet/minecraft/class_630;method_35746(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;Ljava/lang/String;)Vofficial aLfxc;a(Lfaa;Lfxc$d;Ljava/lang/String;)V
-
rotate
- Mappings:
Namespace Name Mixin selector named rotateLnet/minecraft/client/model/ModelPart;rotate(Lnet/minecraft/client/util/math/MatrixStack;)Vintermediary method_22703Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)Vofficial aLfxc;a(Lfaa;)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 named renderCuboidsLnet/minecraft/client/model/ModelPart;renderCuboids(Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)Vintermediary method_22702Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)Vofficial aLfxc;a(Lfaa$a;Lfae;IIFFFF)V
-
getRandomCuboid
- Mappings:
Namespace Name Mixin selector named getRandomCuboidLnet/minecraft/client/model/ModelPart;getRandomCuboid(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/model/ModelPart$Cuboid;intermediary method_22700Lnet/minecraft/class_630;method_22700(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630$class_628;official aLfxc;a(Lazh;)Lfxc$a;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/client/model/ModelPart;isEmpty()Zintermediary method_32087Lnet/minecraft/class_630;method_32087()Zofficial dLfxc;d()Z
-
translate
- Mappings:
Namespace Name Mixin selector named translateLnet/minecraft/client/model/ModelPart;translate(Lorg/joml/Vector3f;)Vintermediary method_41920Lnet/minecraft/class_630;method_41920(Lorg/joml/Vector3f;)Vofficial aLfxc;a(Lorg/joml/Vector3f;)V
-
rotate
- Mappings:
Namespace Name Mixin selector named rotateLnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Vector3f;)Vintermediary method_41922Lnet/minecraft/class_630;method_41922(Lorg/joml/Vector3f;)Vofficial bLfxc;b(Lorg/joml/Vector3f;)V
-
scale
- Mappings:
Namespace Name Mixin selector named scaleLnet/minecraft/client/model/ModelPart;scale(Lorg/joml/Vector3f;)Vintermediary method_41924Lnet/minecraft/class_630;method_41924(Lorg/joml/Vector3f;)Vofficial cLfxc;c(Lorg/joml/Vector3f;)V
-
traverse
- Mappings:
Namespace Name Mixin selector named traverseLnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;intermediary method_32088Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;official eLfxc;e()Ljava/util/stream/Stream;
-