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:
ArmadilloEntityModel
,SnifferEntityModel
@Environment(CLIENT)
public abstract class SinglePartEntityModelWithChildTransform<E extends Entity>
extends SinglePartEntityModel<E>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform
intermediary net/minecraft/class_8184
official fsv
-
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
animate, 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 named childScale
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childScale:F
intermediary field_42875
Lnet/minecraft/class_8184;field_42875:F
official a
Lfsv;a:F
-
childTranslation
private final float childTranslation- Mappings:
Namespace Name Mixin selector named childTranslation
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childTranslation:F
intermediary field_42876
Lnet/minecraft/class_8184;field_42876:F
official b
Lfsv;b:F
-
-
Constructor Details
-
SinglePartEntityModelWithChildTransform
public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FF)V
intermediary <init>
Lnet/minecraft/class_8184;<init>(FF)V
official <init>
Lfsv;<init>(FF)V
-
SinglePartEntityModelWithChildTransform
public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation, Function<Identifier, RenderLayer> layerFactory) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FFLjava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_8184;<init>(FFLjava/util/function/Function;)V
official <init>
Lfsv;<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 named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
official a
Lfux;a(Lezz;Lfad;IIFFFF)V
-