Class PhantomRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
-
- net.minecraft.client.renderer.entity.PhantomRenderer
-
- All Implemented Interfaces:
IEntityRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
public class PhantomRenderer extends MobRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
PHANTOM_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 PhantomRenderer(EntityRendererManager p_i48829_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(PhantomEntity p_110775_1_)
protected void
scale(PhantomEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
protected void
setupRotations(PhantomEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
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
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
PHANTOM_LOCATION
private static final ResourceLocation PHANTOM_LOCATION
-
-
Constructor Detail
-
PhantomRenderer
public PhantomRenderer(EntityRendererManager p_i48829_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(PhantomEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<PhantomEntity>
-
scale
protected void scale(PhantomEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
-
setupRotations
protected void setupRotations(PhantomEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
-
-