Class StatueRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<StatueEntity>
net.minecraft.client.renderer.entity.LivingEntityRenderer<StatueEntity,PixelmonModelBase<StatueEntity>>
net.minecraft.client.renderer.entity.MobRenderer<StatueEntity,PixelmonModelBase<StatueEntity>>
com.pixelmonmod.pixelmon.client.render.entity.renderers.AbstractPokemonRenderer<StatueEntity>
com.pixelmonmod.pixelmon.client.render.entity.renderers.StatueRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.entity.RenderLayerParent<StatueEntity,
PixelmonModelBase<StatueEntity>>
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.render.entity.renderers.AbstractPokemonRenderer
bossTag, lvlTag
Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorsConstructorDescriptionStatueRenderer
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context manager) -
Method Summary
Modifier and TypeMethodDescriptiongetModelData
(StatueEntity entityIn) protected void
renderLabel
(StatueEntity entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, boolean owned, float partialTicks) boolean
shouldRender
(StatueEntity entity, net.minecraft.client.renderer.culling.Frustum frustum, double posX, double posY, double posZ) protected boolean
shouldRenderEmissive
(StatueEntity entity, ModelData modelData, double distance) protected boolean
shouldShowName
(StatueEntity entity) Methods inherited from class com.pixelmonmod.pixelmon.client.render.entity.renderers.AbstractPokemonRenderer
calculateScale, getTextureLocation, render, renderNameTag, scale
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, setupRotations
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderLeash
-
Constructor Details
-
StatueRenderer
public StatueRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context manager)
-
-
Method Details
-
renderLabel
protected void renderLabel(StatueEntity entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, boolean owned, float partialTicks) - Overrides:
renderLabel
in classAbstractPokemonRenderer<StatueEntity>
-
shouldShowName
- Overrides:
shouldShowName
in classAbstractPokemonRenderer<StatueEntity>
-
shouldRender
public boolean shouldRender(StatueEntity entity, net.minecraft.client.renderer.culling.Frustum frustum, double posX, double posY, double posZ) - Overrides:
shouldRender
in classnet.minecraft.client.renderer.entity.EntityRenderer<StatueEntity>
-
getModelData
- Overrides:
getModelData
in classAbstractPokemonRenderer<StatueEntity>
-
shouldRenderEmissive
- Overrides:
shouldRenderEmissive
in classAbstractPokemonRenderer<StatueEntity>
-