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 entity) Returns the location of an entity's texture.static floatgetY(EndCrystal endCrystal, float partialTick) voidrender(EndCrystal entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) booleanshouldRender(EndCrystal livingEntity, Frustum camera, double camX, double camY, double camZ) 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 entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) - Overrides:
renderin classEntityRenderer<EndCrystal>
-
getY
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin classEntityRenderer<EndCrystal>
-
shouldRender
public boolean shouldRender(EndCrystal livingEntity, Frustum camera, double camX, double camY, double camZ) - Overrides:
shouldRenderin classEntityRenderer<EndCrystal>
-