Class ZombieBaseEntityRenderer<T extends ZombieEntity,M extends ZombieEntityModel<T>>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<T,M>
net.minecraft.client.render.entity.BipedEntityRenderer<T,M>
net.minecraft.client.render.entity.ZombieBaseEntityRenderer<T,M>
- All Implemented Interfaces:
FeatureRendererContext<T,M>
- Direct Known Subclasses:
DrownedEntityRenderer
,ZombieEntityRenderer
@Environment(CLIENT) public abstract class ZombieBaseEntityRenderer<T extends ZombieEntity,M extends ZombieEntityModel<T>> extends BipedEntityRenderer<T,M>
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
TEXTURE
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Modifier Constructor Description protected
ZombieBaseEntityRenderer(EntityRenderDispatcher dispatcher, M m, M m2, M m3)
-
Method Summary
Modifier and Type Method Description Identifier
getTexture(ZombieEntity zombieEntity)
protected boolean
isShaking(T t)
Returns if this entity is shaking in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes.Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel, method_23186, method_23187, render, shouldRender
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransforms
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
-
Field Details
-
TEXTURE
-
-
Constructor Details
-
ZombieBaseEntityRenderer
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<T extends ZombieEntity,M extends ZombieEntityModel<T>>
- Overrides:
getTexture
in classBipedEntityRenderer<T extends ZombieEntity,M extends ZombieEntityModel<T>>
-
isShaking
Description copied from class:LivingEntityRenderer
Returns if this entity is shaking in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes. husk, or piglin are undergoing conversion.- Overrides:
isShaking
in classLivingEntityRenderer<T extends ZombieEntity,M extends ZombieEntityModel<T>>
-