Class FeatureRenderer<T extends Entity,M extends EntityModel<T>>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
- Direct Known Subclasses:
ArmorFeatureRenderer
,CapeFeatureRenderer
,CatCollarFeatureRenderer
,Deadmau5FeatureRenderer
,DolphinHeldItemFeatureRenderer
,DrownedOverlayFeatureRenderer
,ElytraFeatureRenderer
,EndermanBlockFeatureRenderer
,EnergySwirlOverlayFeatureRenderer
,EyesFeatureRenderer
,FoxHeldItemFeatureRenderer
,HeadFeatureRenderer
,HeldItemFeatureRenderer
,HorseArmorFeatureRenderer
,HorseMarkingFeatureRenderer
,IronGolemCrackFeatureRenderer
,IronGolemFlowerFeatureRenderer
,LlamaDecorFeatureRenderer
,MooshroomMushroomFeatureRenderer
,PandaHeldItemFeatureRenderer
,SaddleFeatureRenderer
,SheepWoolFeatureRenderer
,ShoulderParrotFeatureRenderer
,ShulkerHeadFeatureRenderer
,SlimeOverlayFeatureRenderer
,SnowmanPumpkinFeatureRenderer
,StrayOverlayFeatureRenderer
,StuckObjectsFeatureRenderer
,TridentRiptideFeatureRenderer
,TropicalFishColorFeatureRenderer
,VillagerClothingFeatureRenderer
,VillagerHeldItemFeatureRenderer
,WolfCollarFeatureRenderer
@Environment(CLIENT) public abstract class FeatureRenderer<T extends Entity,M extends EntityModel<T>> extends Object
-
Field Summary
Fields Modifier and Type Field Description private FeatureRendererContext<T,M>
context
-
Constructor Summary
Constructors Constructor Description FeatureRenderer(FeatureRendererContext<T,M> context)
-
Method Summary
Modifier and Type Method Description M
getContextModel()
protected Identifier
getTexture(T entity)
protected static <T extends LivingEntity>
voidrender(EntityModel<T> contextModel, EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float age, float headYaw, float headPitch, float tickDelta, float red, float green, float blue)
abstract void
render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float tickDelta, float animationProgress, float headYaw, float headPitch)
protected static <T extends LivingEntity>
voidrenderModel(EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float red, float green, float blue)
-
Field Details
-
context
-
-
Constructor Details
-
FeatureRenderer
-
-
Method Details
-
render
protected static <T extends LivingEntity> void render(EntityModel<T> contextModel, EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float age, float headYaw, float headPitch, float tickDelta, float red, float green, float blue) -
renderModel
protected static <T extends LivingEntity> void renderModel(EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float red, float green, float blue) -
getContextModel
-
getTexture
-
render
public abstract void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float tickDelta, float animationProgress, float headYaw, float headPitch)
-