Package net.minecraft.client.model
Class ModelPart
java.lang.Object
net.minecraft.client.model.ModelPart
- Mappings:
Namespace Name official fcr
intermediary net/minecraft/class_630
named net/minecraft/client/model/ModelPart
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
private static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ModelPart.Cuboid>
private ModelTransform
static final float
boolean
float
float
float
float
float
boolean
float
float
float
float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyTransform
(ModelPart part) void
forEachCuboid
(MatrixStack matrices, ModelPart.CuboidConsumer consumer) private void
forEachCuboid
(MatrixStack matrices, ModelPart.CuboidConsumer consumer, String path) getRandomCuboid
(Random random) boolean
boolean
isEmpty()
void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) private void
renderCuboids
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) void
void
rotate
(MatrixStack matrices) void
void
void
setAngles
(float pitch, float yaw, float roll) void
setDefaultTransform
(ModelTransform transform) void
setPivot
(float x, float y, float z) void
setTransform
(ModelTransform rotationData) void
traverse()
-
Field Details
-
field_37937
public static final float field_37937- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a:F
intermediary field_37937
Lnet/minecraft/class_630;field_37937:F
named field_37937
Lnet/minecraft/client/model/ModelPart;field_37937:F
-
pivotX
public float pivotX- Mappings:
Namespace Name Mixin selector official b
Lfcr;b:F
intermediary field_3657
Lnet/minecraft/class_630;field_3657:F
named pivotX
Lnet/minecraft/client/model/ModelPart;pivotX:F
-
pivotY
public float pivotY- Mappings:
Namespace Name Mixin selector official c
Lfcr;c:F
intermediary field_3656
Lnet/minecraft/class_630;field_3656:F
named pivotY
Lnet/minecraft/client/model/ModelPart;pivotY:F
-
pivotZ
public float pivotZ- Mappings:
Namespace Name Mixin selector official d
Lfcr;d:F
intermediary field_3655
Lnet/minecraft/class_630;field_3655:F
named pivotZ
Lnet/minecraft/client/model/ModelPart;pivotZ:F
-
pitch
public float pitch- Mappings:
Namespace Name Mixin selector official e
Lfcr;e:F
intermediary field_3654
Lnet/minecraft/class_630;field_3654:F
named pitch
Lnet/minecraft/client/model/ModelPart;pitch:F
-
yaw
public float yaw- Mappings:
Namespace Name Mixin selector official f
Lfcr;f:F
intermediary field_3675
Lnet/minecraft/class_630;field_3675:F
named yaw
Lnet/minecraft/client/model/ModelPart;yaw:F
-
roll
public float roll- Mappings:
Namespace Name Mixin selector official g
Lfcr;g:F
intermediary field_3674
Lnet/minecraft/class_630;field_3674:F
named roll
Lnet/minecraft/client/model/ModelPart;roll:F
-
xScale
public float xScale- Mappings:
Namespace Name Mixin selector official h
Lfcr;h:F
intermediary field_37938
Lnet/minecraft/class_630;field_37938:F
named xScale
Lnet/minecraft/client/model/ModelPart;xScale:F
-
yScale
public float yScale- Mappings:
Namespace Name Mixin selector official i
Lfcr;i:F
intermediary field_37939
Lnet/minecraft/class_630;field_37939:F
named yScale
Lnet/minecraft/client/model/ModelPart;yScale:F
-
zScale
public float zScale- Mappings:
Namespace Name Mixin selector official j
Lfcr;j:F
intermediary field_37940
Lnet/minecraft/class_630;field_37940:F
named zScale
Lnet/minecraft/client/model/ModelPart;zScale:F
-
visible
public boolean visible- Mappings:
Namespace Name Mixin selector official k
Lfcr;k:Z
intermediary field_3665
Lnet/minecraft/class_630;field_3665:Z
named visible
Lnet/minecraft/client/model/ModelPart;visible:Z
-
cuboids
- Mappings:
Namespace Name Mixin selector official m
Lfcr;m:Ljava/util/List;
intermediary field_3663
Lnet/minecraft/class_630;field_3663:Ljava/util/List;
named cuboids
Lnet/minecraft/client/model/ModelPart;cuboids:Ljava/util/List;
-
children
- Mappings:
Namespace Name Mixin selector official n
Lfcr;n:Ljava/util/Map;
intermediary field_3661
Lnet/minecraft/class_630;field_3661:Ljava/util/Map;
named children
Lnet/minecraft/client/model/ModelPart;children:Ljava/util/Map;
-
defaultTransform
- Mappings:
Namespace Name Mixin selector official o
Lfcr;o:Lfct;
intermediary field_37941
Lnet/minecraft/class_630;field_37941:Lnet/minecraft/class_5603;
named defaultTransform
Lnet/minecraft/client/model/ModelPart;defaultTransform:Lnet/minecraft/client/model/ModelTransform;
-
-
Constructor Details
-
ModelPart
- Mappings:
Namespace Name Mixin selector official <init>
Lfcr;<init>(Ljava/util/List;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_630;<init>(Ljava/util/List;Ljava/util/Map;)V
named <init>
Lnet/minecraft/client/model/ModelPart;<init>(Ljava/util/List;Ljava/util/Map;)V
-
-
Method Details
-
getTransform
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a()Lfct;
intermediary method_32084
Lnet/minecraft/class_630;method_32084()Lnet/minecraft/class_5603;
named getTransform
Lnet/minecraft/client/model/ModelPart;getTransform()Lnet/minecraft/client/model/ModelTransform;
-
getDefaultTransform
- Mappings:
Namespace Name Mixin selector official b
Lfcr;b()Lfct;
intermediary method_41921
Lnet/minecraft/class_630;method_41921()Lnet/minecraft/class_5603;
named getDefaultTransform
Lnet/minecraft/client/model/ModelPart;getDefaultTransform()Lnet/minecraft/client/model/ModelTransform;
-
setDefaultTransform
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a(Lfct;)V
intermediary method_41918
Lnet/minecraft/class_630;method_41918(Lnet/minecraft/class_5603;)V
named setDefaultTransform
Lnet/minecraft/client/model/ModelPart;setDefaultTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
resetTransform
public void resetTransform()- Mappings:
Namespace Name Mixin selector official c
Lfcr;c()V
intermediary method_41923
Lnet/minecraft/class_630;method_41923()V
named resetTransform
Lnet/minecraft/client/model/ModelPart;resetTransform()V
-
setTransform
- Mappings:
Namespace Name Mixin selector official b
Lfcr;b(Lfct;)V
intermediary method_32085
Lnet/minecraft/class_630;method_32085(Lnet/minecraft/class_5603;)V
named setTransform
Lnet/minecraft/client/model/ModelPart;setTransform(Lnet/minecraft/client/model/ModelTransform;)V
-
copyTransform
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a(Lfcr;)V
intermediary method_17138
Lnet/minecraft/class_630;method_17138(Lnet/minecraft/class_630;)V
named copyTransform
Lnet/minecraft/client/model/ModelPart;copyTransform(Lnet/minecraft/client/model/ModelPart;)V
-
hasChild
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a(Ljava/lang/String;)Z
intermediary method_41919
Lnet/minecraft/class_630;method_41919(Ljava/lang/String;)Z
named hasChild
Lnet/minecraft/client/model/ModelPart;hasChild(Ljava/lang/String;)Z
-
getChild
- Mappings:
Namespace Name Mixin selector official b
Lfcr;b(Ljava/lang/String;)Lfcr;
intermediary method_32086
Lnet/minecraft/class_630;method_32086(Ljava/lang/String;)Lnet/minecraft/class_630;
named getChild
Lnet/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 a
Lfcr;a(FFF)V
intermediary method_2851
Lnet/minecraft/class_630;method_2851(FFF)V
named setPivot
Lnet/minecraft/client/model/ModelPart;setPivot(FFF)V
-
setAngles
public void setAngles(float pitch, float yaw, float roll) - Mappings:
Namespace Name Mixin selector official b
Lfcr;b(FFF)V
intermediary method_33425
Lnet/minecraft/class_630;method_33425(FFF)V
named setAngles
Lnet/minecraft/client/model/ModelPart;setAngles(FFF)V
-
render
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a(Lehe;Lehi;II)V
intermediary method_22698
Lnet/minecraft/class_630;method_22698(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;II)V
named render
Lnet/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 a
Lfcr;a(Lehe;Lehi;IIFFFF)V
intermediary method_22699
Lnet/minecraft/class_630;method_22699(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/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 a
Lfcr;a(Lehe;Lfcr$d;)V
intermediary method_35745
Lnet/minecraft/class_630;method_35745(Lnet/minecraft/class_4587;Lnet/minecraft/class_630$class_6229;)V
named forEachCuboid
Lnet/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 a
Lfcr;a(Lehe;Lfcr$d;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
named forEachCuboid
Lnet/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 a
Lfcr;a(Lehe;)V
intermediary method_22703
Lnet/minecraft/class_630;method_22703(Lnet/minecraft/class_4587;)V
named rotate
Lnet/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 a
Lfcr;a(Lehe$a;Lehi;IIFFFF)V
intermediary method_22702
Lnet/minecraft/class_630;method_22702(Lnet/minecraft/class_4587$class_4665;Lnet/minecraft/class_4588;IIFFFF)V
named renderCuboids
Lnet/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 a
Lfcr;a(Lapo;)Lfcr$a;
intermediary method_22700
Lnet/minecraft/class_630;method_22700(Lnet/minecraft/class_5819;)Lnet/minecraft/class_630$class_628;
named getRandomCuboid
Lnet/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 d
Lfcr;d()Z
intermediary method_32087
Lnet/minecraft/class_630;method_32087()Z
named isEmpty
Lnet/minecraft/client/model/ModelPart;isEmpty()Z
-
translate
- Mappings:
Namespace Name Mixin selector official a
Lfcr;a(Lorg/joml/Vector3f;)V
intermediary method_41920
Lnet/minecraft/class_630;method_41920(Lorg/joml/Vector3f;)V
named translate
Lnet/minecraft/client/model/ModelPart;translate(Lorg/joml/Vector3f;)V
-
rotate
- Mappings:
Namespace Name Mixin selector official b
Lfcr;b(Lorg/joml/Vector3f;)V
intermediary method_41922
Lnet/minecraft/class_630;method_41922(Lorg/joml/Vector3f;)V
named rotate
Lnet/minecraft/client/model/ModelPart;rotate(Lorg/joml/Vector3f;)V
-
scale
- Mappings:
Namespace Name Mixin selector official c
Lfcr;c(Lorg/joml/Vector3f;)V
intermediary method_41924
Lnet/minecraft/class_630;method_41924(Lorg/joml/Vector3f;)V
named scale
Lnet/minecraft/client/model/ModelPart;scale(Lorg/joml/Vector3f;)V
-
traverse
- Mappings:
Namespace Name Mixin selector official e
Lfcr;e()Ljava/util/stream/Stream;
intermediary method_32088
Lnet/minecraft/class_630;method_32088()Ljava/util/stream/Stream;
named traverse
Lnet/minecraft/client/model/ModelPart;traverse()Ljava/util/stream/Stream;
-