Class SinglePartEntityModelWithChildTransform<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModelWithChildTransform<E>
- Direct Known Subclasses:
SnifferModel
@Environment(CLIENT)
public abstract class SinglePartEntityModelWithChildTransform<E extends Entity>
extends SinglePartEntityModel<E>
- Mappings:
Namespace Name official eyp
intermediary net/minecraft/class_8184
named net/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
ConstructorDescriptionSinglePartEntityModelWithChildTransform
(float childScale, float childTranslation) SinglePartEntityModelWithChildTransform
(float childScale, float childTranslation, Function<Identifier, RenderLayer> layerFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
animateMovement, getChild, getPart, updateAnimation, updateAnimation
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
childScale
private final float childScale- Mappings:
Namespace Name Mixin selector official a
Leyp;a:F
intermediary field_42875
Lnet/minecraft/class_8184;field_42875:F
named childScale
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childScale:F
-
childTranslation
private final float childTranslation- Mappings:
Namespace Name Mixin selector official b
Leyp;b:F
intermediary field_42876
Lnet/minecraft/class_8184;field_42876:F
named childTranslation
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childTranslation:F
-
-
Constructor Details
-
SinglePartEntityModelWithChildTransform
public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation) - Mappings:
Namespace Name Mixin selector official <init>
Leyp;<init>(FF)V
intermediary <init>
Lnet/minecraft/class_8184;<init>(FF)V
named <init>
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FF)V
-
SinglePartEntityModelWithChildTransform
public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation, Function<Identifier, RenderLayer> layerFactory) - Mappings:
Namespace Name Mixin selector official <init>
Leyp;<init>(FFLjava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_8184;<init>(FFLjava/util/function/Function;)V
named <init>
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FFLjava/util/function/Function;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Overrides:
render
in classSinglePartEntityModel<E extends Entity>
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official a
Lfao;a(Lehe;Lehi;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-