Class EndCrystalRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<EndCrystal>
net.minecraft.client.renderer.entity.EndCrystalRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate static final Stringprivate final ModelPartprivate static final ResourceLocationprivate final ModelPartprivate static final Stringprivate static final RenderTypeprivate static final floatFields 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 LayerDefinitiongetTextureLocation(EndCrystal pEntity) Returns the location of an entity's texture.static floatgetY(EndCrystal pEndCrystal, float pPartialTick) voidrender(EndCrystal pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) booleanshouldRender(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:
renderin classEntityRenderer<EndCrystal>
-
getY
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin classEntityRenderer<EndCrystal>
-
shouldRender
public boolean shouldRender(EndCrystal pLivingEntity, Frustum pCamera, double pCamX, double pCamY, double pCamZ) - Overrides:
shouldRenderin classEntityRenderer<EndCrystal>
-