Class GuardianEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<GuardianEntity,GuardianEntityRenderState>
net.minecraft.client.render.entity.LivingEntityRenderer<GuardianEntity,GuardianEntityRenderState,GuardianEntityModel>
net.minecraft.client.render.entity.MobEntityRenderer<GuardianEntity,GuardianEntityRenderState,GuardianEntityModel>
net.minecraft.client.render.entity.GuardianEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<GuardianEntityRenderState,
GuardianEntityModel>
- Direct Known Subclasses:
ElderGuardianEntityRenderer
@Environment(CLIENT)
public class GuardianEntityRenderer
extends MobEntityRenderer<GuardianEntity,GuardianEntityRenderState,GuardianEntityModel>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/GuardianEntityRenderer
intermediary net/minecraft/class_907
official gsd
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Identifier
private static final RenderLayer
private static final Identifier
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, itemRenderer, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
ModifierConstructorDescriptionprotected
GuardianEntityRenderer
(EntityRendererFactory.Context ctx, float shadowRadius, EntityModelLayer layer) -
Method Summary
Modifier and TypeMethodDescriptionprivate Vec3d
fromLerpedPosition
(LivingEntity entity, double yOffset, float delta) getBeamTarget
(GuardianEntity guardian) getTexture
(GuardianEntityRenderState guardianEntityRenderState) void
render
(GuardianEntityRenderState guardianEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) private static void
renderBeam
(MatrixStack matrices, VertexConsumer vertexConsumer, Vec3d vec3d, float beamTicks, float float2, float float3) boolean
shouldRender
(GuardianEntity guardianEntity, Frustum frustum, double double2, double double3, double double4) void
updateRenderState
(GuardianEntity guardianEntity, GuardianEntityRenderState guardianEntityRenderState, float float2) private static void
vertex
(VertexConsumer vertexConsumer, MatrixStack.Entry matrix, float x, float y, float z, int red, int green, int blue, float u, float v) Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
getShadowRadius, hasLabel
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getBoundingBox, getMixColor, getModel, getOverlay, getRenderLayer, isShaking, isVisible, method_3919, scale, setupTransforms, shouldFlipUpsideDown, shouldRenderFeatures
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getDisplayName, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_4708
Lnet/minecraft/class_907;field_4708:Lnet/minecraft/class_2960;
official a
Lgsd;a:Lalz;
-
EXPLOSION_BEAM_TEXTURE
- Mappings:
Namespace Name Mixin selector named EXPLOSION_BEAM_TEXTURE
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;EXPLOSION_BEAM_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_4709
Lnet/minecraft/class_907;field_4709:Lnet/minecraft/class_2960;
official b
Lgsd;b:Lalz;
-
LAYER
- Mappings:
Namespace Name Mixin selector named LAYER
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;LAYER:Lnet/minecraft/client/render/RenderLayer;
intermediary field_21743
Lnet/minecraft/class_907;field_21743:Lnet/minecraft/class_1921;
official k
Lgsd;k:Lglu;
-
-
Constructor Details
-
GuardianEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
official <init>
Lgro;<init>(Lgrp$a;)V
-
GuardianEntityRenderer
protected GuardianEntityRenderer(EntityRendererFactory.Context ctx, float shadowRadius, EntityModelLayer layer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;FLnet/minecraft/client/render/entity/model/EntityModelLayer;)V
intermediary <init>
Lnet/minecraft/class_907;<init>(Lnet/minecraft/class_5617$class_5618;FLnet/minecraft/class_5601;)V
official <init>
Lgsd;<init>(Lgrp$a;FLgel;)V
-
-
Method Details
-
shouldRender
public boolean shouldRender(GuardianEntity guardianEntity, Frustum frustum, double double2, double double3, double double4) - Overrides:
shouldRender
in classEntityRenderer<GuardianEntity,
GuardianEntityRenderState> - Mappings:
Namespace Name Mixin selector named shouldRender
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;shouldRender(Lnet/minecraft/entity/mob/GuardianEntity;Lnet/minecraft/client/render/Frustum;DDD)Z
intermediary method_3978
Lnet/minecraft/class_907;method_3978(Lnet/minecraft/class_1577;Lnet/minecraft/class_4604;DDD)Z
official a
Lgsd;a(Lcms;Lgpb;DDD)Z
-
fromLerpedPosition
- Mappings:
Namespace Name Mixin selector named fromLerpedPosition
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;fromLerpedPosition(Lnet/minecraft/entity/LivingEntity;DF)Lnet/minecraft/util/math/Vec3d;
intermediary method_3979
Lnet/minecraft/class_907;method_3979(Lnet/minecraft/class_1309;DF)Lnet/minecraft/class_243;
official a
Lgsd;a(Lbwf;DF)Lfbx;
-
render
public void render(GuardianEntityRenderState guardianEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classLivingEntityRenderer<GuardianEntity,
GuardianEntityRenderState, GuardianEntityModel> - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;render(Lnet/minecraft/client/render/entity/state/GuardianEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3977
Lnet/minecraft/class_907;method_3977(Lnet/minecraft/class_10031;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgsd;a(Lgyh;Lfgr;Lglk;I)V
-
renderBeam
private static void renderBeam(MatrixStack matrices, VertexConsumer vertexConsumer, Vec3d vec3d, float beamTicks, float float2, float float3) - Mappings:
Namespace Name Mixin selector named renderBeam
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;renderBeam(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Vec3d;FFF)V
intermediary method_62456
Lnet/minecraft/class_907;method_62456(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_243;FFF)V
official a
Lgsd;a(Lfgr;Lfgv;Lfbx;FFF)V
-
vertex
private static void vertex(VertexConsumer vertexConsumer, MatrixStack.Entry matrix, float x, float y, float z, int red, int green, int blue, float u, float v) - Mappings:
Namespace Name Mixin selector named vertex
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;FFFIIIFF)V
intermediary method_23173
Lnet/minecraft/class_907;method_23173(Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;FFFIIIFF)V
official a
Lgsd;a(Lfgv;Lfgr$a;FFFIIIFF)V
-
getTexture
- Specified by:
getTexture
in classLivingEntityRenderer<GuardianEntity,
GuardianEntityRenderState, GuardianEntityModel> - Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;getTexture(Lnet/minecraft/client/render/entity/state/GuardianEntityRenderState;)Lnet/minecraft/util/Identifier;
intermediary method_3976
Lnet/minecraft/class_907;method_3976(Lnet/minecraft/class_10031;)Lnet/minecraft/class_2960;
official a
Lgsd;a(Lgyh;)Lalz;
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<GuardianEntity,
GuardianEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/GuardianEntityRenderState;
intermediary method_62457
Lnet/minecraft/class_907;method_62457()Lnet/minecraft/class_10031;
official b
Lgsd;b()Lgyh;
-
updateRenderState
public void updateRenderState(GuardianEntity guardianEntity, GuardianEntityRenderState guardianEntityRenderState, float float2) - Overrides:
updateRenderState
in classLivingEntityRenderer<GuardianEntity,
GuardianEntityRenderState, GuardianEntityModel> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;updateRenderState(Lnet/minecraft/entity/mob/GuardianEntity;Lnet/minecraft/client/render/entity/state/GuardianEntityRenderState;F)V
intermediary method_62455
Lnet/minecraft/class_907;method_62455(Lnet/minecraft/class_1577;Lnet/minecraft/class_10031;F)V
official a
Lgsd;a(Lcms;Lgyh;F)V
-
getBeamTarget
- Mappings:
Namespace Name Mixin selector named getBeamTarget
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;getBeamTarget(Lnet/minecraft/entity/mob/GuardianEntity;)Lnet/minecraft/entity/Entity;
intermediary method_62454
Lnet/minecraft/class_907;method_62454(Lnet/minecraft/class_1577;)Lnet/minecraft/class_1297;
official a
Lgsd;a(Lcms;)Lbvj;
-