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 entity) Returns the location of an entity's texture.static float
getY
(EndCrystal endCrystal, float partialTick) void
render
(EndCrystal entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) boolean
shouldRender
(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:
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 livingEntity, Frustum camera, double camX, double camY, double camZ) - Overrides:
shouldRender
in classEntityRenderer<EndCrystal>
-