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 fty
-
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, int int2) 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
Methods inherited from class net.minecraft.client.model.Model
getLayer, method_60879
-
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
Lfty;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
Lfty;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>
Lfty;<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>
Lfty;<init>(FFLjava/util/function/Function;)V
-
-
Method Details
-
render
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;III)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)V
official a
Lfwa;a(Lfbc;Lfbg;III)V
-