Class MagmaCubeRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<MagmaCubeEntity,MagmaCubeModel<MagmaCubeEntity>>
-
- net.minecraft.client.renderer.entity.MagmaCubeRenderer
-
- All Implemented Interfaces:
IEntityRenderer<MagmaCubeEntity,MagmaCubeModel<MagmaCubeEntity>>
public class MagmaCubeRenderer extends MobRenderer<MagmaCubeEntity,MagmaCubeModel<MagmaCubeEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
MAGMACUBE_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 MagmaCubeRenderer(EntityRendererManager p_i46159_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getBlockLightLevel(MagmaCubeEntity p_225624_1_, BlockPos p_225624_2_)
ResourceLocation
getTextureLocation(MagmaCubeEntity p_110775_1_)
protected void
scale(MagmaCubeEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
MAGMACUBE_LOCATION
private static final ResourceLocation MAGMACUBE_LOCATION
-
-
Constructor Detail
-
MagmaCubeRenderer
public MagmaCubeRenderer(EntityRendererManager p_i46159_1_)
-
-
Method Detail
-
getBlockLightLevel
protected int getBlockLightLevel(MagmaCubeEntity p_225624_1_, BlockPos p_225624_2_)
- Overrides:
getBlockLightLevel
in classEntityRenderer<MagmaCubeEntity>
-
getTextureLocation
public ResourceLocation getTextureLocation(MagmaCubeEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<MagmaCubeEntity,MagmaCubeModel<MagmaCubeEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<MagmaCubeEntity>
-
scale
protected void scale(MagmaCubeEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<MagmaCubeEntity,MagmaCubeModel<MagmaCubeEntity>>
-
-