Class CompositeEntityModel<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.CompositeEntityModel<E>
- Direct Known Subclasses:
BoatEntityModel,RaftEntityModel,ShulkerEntityModel
@Environment(CLIENT)
public abstract class CompositeEntityModel<E extends Entity>
extends EntityModel<E>
- Mappings:
Namespace Name official fbmintermediary net/minecraft/class_4595named net/minecraft/client/render/entity/model/CompositeEntityModel
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParts()voidrender(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.EntityModel
animateModel, copyStateTo, setAngles
-
Constructor Details
-
CompositeEntityModel
public CompositeEntityModel() -
CompositeEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lfbq;<init>(Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)Vnamed <init>Lnet/minecraft/client/model/Model;<init>(Ljava/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.- Specified by:
renderin classModel- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official aLfbq;a(Leib;Leif;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
getParts
- Mappings:
Namespace Name Mixin selector official dLfbm;d()Ljava/lang/Iterable;intermediary method_22960Lnet/minecraft/class_4595;method_22960()Ljava/lang/Iterable;named getPartsLnet/minecraft/client/render/entity/model/CompositeEntityModel;getParts()Ljava/lang/Iterable;
-