Class ModelElement
java.lang.Object
net.minecraft.client.render.model.json.ModelElement
- Mappings:
Namespace Name official ern
intermediary net/minecraft/class_785
named net/minecraft/client/render/model/json/ModelElement
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal Map<Direction,
ModelElementFace> private static final boolean
private static final float
private static final float
final Vec3f
final ModelRotation
final boolean
final Vec3f
-
Constructor Summary
ConstructorDescriptionModelElement
(Vec3f from, Vec3f to, Map<Direction, ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade) -
Method Summary
Modifier and TypeMethodDescriptionprivate float[]
getRotatedMatrix
(Direction direction) private void
-
Field Details
-
field_32785
private static final boolean field_32785- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lern;f:Z
intermediary field_32785
Lnet/minecraft/class_785;field_32785:Z
named field_32785
Lnet/minecraft/client/render/model/json/ModelElement;field_32785:Z
-
field_32786
private static final float field_32786- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lern;g:F
intermediary field_32786
Lnet/minecraft/class_785;field_32786:F
named field_32786
Lnet/minecraft/client/render/model/json/ModelElement;field_32786:F
-
field_32787
private static final float field_32787- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lern;h:F
intermediary field_32787
Lnet/minecraft/class_785;field_32787:F
named field_32787
Lnet/minecraft/client/render/model/json/ModelElement;field_32787:F
-
from
- Mappings:
Namespace Name Mixin selector official a
Lern;a:Lk;
intermediary field_4228
Lnet/minecraft/class_785;field_4228:Lnet/minecraft/class_1160;
named from
Lnet/minecraft/client/render/model/json/ModelElement;from:Lnet/minecraft/util/math/Vec3f;
-
to
- Mappings:
Namespace Name Mixin selector official b
Lern;b:Lk;
intermediary field_4231
Lnet/minecraft/class_785;field_4231:Lnet/minecraft/class_1160;
named to
Lnet/minecraft/client/render/model/json/ModelElement;to:Lnet/minecraft/util/math/Vec3f;
-
faces
- Mappings:
Namespace Name Mixin selector official c
Lern;c:Ljava/util/Map;
intermediary field_4230
Lnet/minecraft/class_785;field_4230:Ljava/util/Map;
named faces
Lnet/minecraft/client/render/model/json/ModelElement;faces:Ljava/util/Map;
-
rotation
- Mappings:
Namespace Name Mixin selector official d
Lern;d:Lerp;
intermediary field_4232
Lnet/minecraft/class_785;field_4232:Lnet/minecraft/class_789;
named rotation
Lnet/minecraft/client/render/model/json/ModelElement;rotation:Lnet/minecraft/client/render/model/json/ModelRotation;
-
shade
public final boolean shade- Mappings:
Namespace Name Mixin selector official e
Lern;e:Z
intermediary field_4229
Lnet/minecraft/class_785;field_4229:Z
named shade
Lnet/minecraft/client/render/model/json/ModelElement;shade:Z
-
-
Constructor Details
-
ModelElement
public ModelElement(Vec3f from, Vec3f to, Map<Direction, ModelElementFace> faces, @Nullable @Nullable ModelRotation rotation, boolean shade) - Mappings:
Namespace Name Mixin selector official <init>
Lern;<init>(Lk;Lk;Ljava/util/Map;Lerp;Z)V
intermediary <init>
Lnet/minecraft/class_785;<init>(Lnet/minecraft/class_1160;Lnet/minecraft/class_1160;Ljava/util/Map;Lnet/minecraft/class_789;Z)V
named <init>
Lnet/minecraft/client/render/model/json/ModelElement;<init>(Lnet/minecraft/util/math/Vec3f;Lnet/minecraft/util/math/Vec3f;Ljava/util/Map;Lnet/minecraft/client/render/model/json/ModelRotation;Z)V
-
-
Method Details
-
initTextures
private void initTextures()- Mappings:
Namespace Name Mixin selector official a
Lern;a()V
intermediary method_3402
Lnet/minecraft/class_785;method_3402()V
named initTextures
Lnet/minecraft/client/render/model/json/ModelElement;initTextures()V
-
getRotatedMatrix
- Mappings:
Namespace Name Mixin selector official a
Lern;a(Lgo;)[F
intermediary method_3401
Lnet/minecraft/class_785;method_3401(Lnet/minecraft/class_2350;)[F
named getRotatedMatrix
Lnet/minecraft/client/render/model/json/ModelElement;getRotatedMatrix(Lnet/minecraft/util/math/Direction;)[F
-