net.minecraft.client.render.entity

public class GuardianEntityRenderer

extends MobEntityRenderer<GuardianEntity, GuardianEntityRenderState, GuardianEntityModel>

All mapped superinterfaces:

FeatureRendererContext

net.minecraft.client.renderer.entity.GuardianRenderer
net.minecraft.class_907
net.minecraft.client.render.entity.GuardianEntityRenderer

Field summary

Modifier and TypeField
private static final Identifier
GUARDIAN_LOCATION
field_4708
TEXTURE
private static final Identifier
GUARDIAN_BEAM_LOCATION
field_4709
EXPLOSION_BEAM_TEXTURE
private static final RenderLayer
BEAM_RENDER_TYPE
field_21743
LAYER

Constructor summary

ModifierConstructor
public (EntityRendererFactory$Context context)
protected (EntityRendererFactory$Context ctx, float shadowRadius, EntityModelLayer layer)

Method summary

Modifier and TypeMethod
public boolean
shouldRender(Guardian entity, Frustum culler, double camX, double camY, double camZ)
method_3978(class_1577 arg0, class_4604 arg1, double arg2, double arg3, double arg4)
shouldRender(GuardianEntity arg0, Frustum arg1, double arg2, double arg3, double arg4)
private Vec3d
getPosition(LivingEntity entity, double yOffset, float partialTicks)
method_3979(class_1309 arg0, double arg1, float arg2)
fromLerpedPosition(LivingEntity entity, double yOffset, float delta)
public void
submit(GuardianRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3977(class_10031 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(GuardianEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
private static void
renderBeam(PoseStack poseStack, SubmitNodeCollector submitNodeCollector, Vec3 beamVector, float timeInTicks, float scale, float texVOff)
method_62456(class_4587 arg0, class_11659 arg1, class_243 arg2, float arg3, float arg4, float arg5)
renderBeam(MatrixStack matrices, OrderedRenderCommandQueue queue, Vec3d offset, float beamTicks, float beamProgress, float arg5)
private static void
vertex(VertexConsumer builder, PoseStack$Pose pose, float x, float y, float z, int red, int green, int blue, float u, float v)
method_23173(class_4588 arg0, class_4587$class_4665 arg1, float arg2, float arg3, float arg4, int arg5, int arg6, int arg7, float arg8, float arg9)
vertex(VertexConsumer vertexConsumer, MatrixStack$Entry matrix, float x, float y, float z, int red, int green, int blue, float u, float v)
public Identifier
getTextureLocation(GuardianRenderState state)
method_3976(class_10031 arg0)
getTexture(GuardianEntityRenderState arg0)
public GuardianEntityRenderState
createRenderState()
method_55269()
createRenderState()
public void
extractRenderState(Guardian entity, GuardianRenderState state, float partialTicks)
method_62455(class_1577 arg0, class_10031 arg1, float arg2)
updateRenderState(GuardianEntity arg0, GuardianEntityRenderState arg1, float arg2)
private static Entity
getEntityToLookAt(Guardian entity)
method_62454(class_1577 arg0)
getBeamTarget(GuardianEntity guardian)
public void
extractRenderState(LivingEntity entity, LivingEntityRenderState state, float partialTicks)
method_62355(class_1309 arg0, class_10042 arg1, float arg2)
updateRenderState(LivingEntity arg0, LivingEntityRenderState arg1, float arg2)
public Identifier
getTextureLocation(LivingEntityRenderState state)
method_3885(class_10042 arg0)
getTexture(LivingEntityRenderState arg0)
public void
submit(LivingEntityRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_4054(class_10042 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(LivingEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public void
extractRenderState(Entity entity, EntityRenderState state, float partialTicks)
method_62354(class_1297 arg0, class_10017 arg1, float arg2)
updateRenderState(Entity arg0, EntityRenderState arg1, float arg2)
public EntityRenderState
createRenderState()
method_55269()
createRenderState()
public void
submit(EntityRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3936(class_10017 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(EntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public boolean
shouldRender(Entity entity, Frustum culler, double camX, double camY, double camZ)
method_3933(class_1297 arg0, class_4604 arg1, double arg2, double arg3, double arg4)
shouldRender(Entity arg0, Frustum arg1, double arg2, double arg3, double arg4)
private static void
lambda$renderBeam$0(float arg0, float arg1, float arg2, int arg3, int arg4, int arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15, float arg16, float arg17, float arg18, float arg19, float arg20, float arg21, float arg22, PoseStack$Pose arg23, VertexConsumer arg24)
method_72985(float arg0, float arg1, float arg2, int arg3, int arg4, int arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15, float arg16, float arg17, float arg18, float arg19, float arg20, float arg21, float arg22, class_4587$class_4665 arg23, class_4588 arg24)
method_72985(float arg0, float arg1, float arg2, int arg3, int arg4, int arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15, float arg16, float arg17, float arg18, float arg19, float arg20, float arg21, float arg22, MatrixStack$Entry matricesEntry, VertexConsumer vertexConsumer)