Class EndCrystalRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<EndCrystal>
net.minecraft.client.renderer.entity.EndCrystalRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPart
private static final String
private final ModelPart
private static final ResourceLocation
private final ModelPart
private static final String
private static final RenderType
private static final float
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
getTextureLocation
(EndCrystal pEntity) Returns the location of an entity's texture.static float
getY
(EndCrystal pEndCrystal, float pPartialTick) void
render
(EndCrystal pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) boolean
shouldRender
(EndCrystal pLivingEntity, Frustum pCamera, double pCamX, double pCamY, double pCamZ) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldShowName
-
Field Details
-
END_CRYSTAL_LOCATION
-
RENDER_TYPE
-
SIN_45
private static final float SIN_45 -
GLASS
- See Also:
-
BASE
- See Also:
-
cube
-
glass
-
base
-
-
Constructor Details
-
EndCrystalRenderer
-
-
Method Details
-
createBodyLayer
-
render
public void render(EndCrystal pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
render
in classEntityRenderer<EndCrystal>
-
getY
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<EndCrystal>
-
shouldRender
public boolean shouldRender(EndCrystal pLivingEntity, Frustum pCamera, double pCamX, double pCamY, double pCamZ) - Overrides:
shouldRender
in classEntityRenderer<EndCrystal>
-