Class EnderCrystalRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<EnderCrystalEntity>
-
- net.minecraft.client.renderer.entity.EnderCrystalRenderer
-
public class EnderCrystalRenderer extends EntityRenderer<EnderCrystalEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
base
private ModelRenderer
cube
private static ResourceLocation
END_CRYSTAL_LOCATION
private ModelRenderer
glass
private static RenderType
RENDER_TYPE
private static float
SIN_45
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description EnderCrystalRenderer(EntityRendererManager p_i46184_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(EnderCrystalEntity p_110775_1_)
static float
getY(EnderCrystalEntity p_229051_0_, float p_229051_1_)
void
render(EnderCrystalEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
boolean
shouldRender(EnderCrystalEntity 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.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldShowName
-
-
-
-
Field Detail
-
END_CRYSTAL_LOCATION
private static final ResourceLocation END_CRYSTAL_LOCATION
-
RENDER_TYPE
private static final RenderType RENDER_TYPE
-
SIN_45
private static final float SIN_45
-
cube
private final ModelRenderer cube
-
glass
private final ModelRenderer glass
-
base
private final ModelRenderer base
-
-
Constructor Detail
-
EnderCrystalRenderer
public EnderCrystalRenderer(EntityRendererManager p_i46184_1_)
-
-
Method Detail
-
render
public void render(EnderCrystalEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<EnderCrystalEntity>
-
getY
public static float getY(EnderCrystalEntity p_229051_0_, float p_229051_1_)
-
getTextureLocation
public ResourceLocation getTextureLocation(EnderCrystalEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<EnderCrystalEntity>
-
shouldRender
public boolean shouldRender(EnderCrystalEntity p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
- Overrides:
shouldRender
in classEntityRenderer<EnderCrystalEntity>
-
-