Class ShulkerRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
-
- net.minecraft.client.renderer.entity.ShulkerRenderer
-
- All Implemented Interfaces:
IEntityRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
public class ShulkerRenderer extends MobRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
DEFAULT_TEXTURE_LOCATION
static ResourceLocation[]
TEXTURE_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description ShulkerRenderer(EntityRendererManager p_i47194_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3d
getRenderOffset(ShulkerEntity p_225627_1_, float p_225627_2_)
ResourceLocation
getTextureLocation(ShulkerEntity p_110775_1_)
protected void
setupRotations(ShulkerEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
boolean
shouldRender(ShulkerEntity p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
DEFAULT_TEXTURE_LOCATION
public static final ResourceLocation DEFAULT_TEXTURE_LOCATION
-
TEXTURE_LOCATION
public static final ResourceLocation[] TEXTURE_LOCATION
-
-
Constructor Detail
-
ShulkerRenderer
public ShulkerRenderer(EntityRendererManager p_i47194_1_)
-
-
Method Detail
-
getRenderOffset
public Vector3d getRenderOffset(ShulkerEntity p_225627_1_, float p_225627_2_)
- Overrides:
getRenderOffset
in classEntityRenderer<ShulkerEntity>
-
shouldRender
public boolean shouldRender(ShulkerEntity p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
- Overrides:
shouldRender
in classMobRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(ShulkerEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<ShulkerEntity>
-
setupRotations
protected void setupRotations(ShulkerEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<ShulkerEntity,ShulkerModel<ShulkerEntity>>
-
-