Class GuardianEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<GuardianEntity,GuardianEntityModel>
net.minecraft.client.render.entity.GuardianEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<GuardianEntity,GuardianEntityModel>
- Direct Known Subclasses:
ElderGuardianEntityRenderer
@Environment(CLIENT) public class GuardianEntityRenderer extends MobEntityRenderer<GuardianEntity,GuardianEntityModel>
- Mappings:
Namespace Name official emv
intermediary net/minecraft/class_907
named net/minecraft/client/render/entity/GuardianEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
EXPLOSION_BEAM_TEXTURE
private static RenderLayer
LAYER
private static Identifier
TEXTURE
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Modifier Constructor Description GuardianEntityRenderer(EntityRendererFactory.Context ctx)
protected
GuardianEntityRenderer(EntityRendererFactory.Context ctx, float shadowRadius, EntityModelLayer layer)
-
Method Summary
Modifier and Type Method Description private Vec3d
fromLerpedPosition(LivingEntity entity, double yOffset, float delta)
Identifier
getTexture(GuardianEntity guardianEntity)
private static void
method_23173(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, float float4, int int2, int int3, int int4, float float5, float float6)
void
render(GuardianEntity guardianEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
boolean
shouldRender(GuardianEntity guardianEntity, Frustum frustum, double double2, double double3, double double4)
Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, renderLabelIfPresent
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lemv;a:Lwb;
intermediary field_4708
Lnet/minecraft/class_907;field_4708:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
EXPLOSION_BEAM_TEXTURE
- Mappings:
Namespace Name Mixin selector official g
Lemv;g:Lwb;
intermediary field_4709
Lnet/minecraft/class_907;field_4709:Lnet/minecraft/class_2960;
named EXPLOSION_BEAM_TEXTURE
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;EXPLOSION_BEAM_TEXTURE:Lnet/minecraft/util/Identifier;
-
LAYER
- Mappings:
Namespace Name Mixin selector official h
Lemv;h:Lehy;
intermediary field_21743
Lnet/minecraft/class_907;field_21743:Lnet/minecraft/class_1921;
named LAYER
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;LAYER:Lnet/minecraft/client/render/RenderLayer;
-
-
Constructor Details
-
GuardianEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lemi;<init>(Lemj$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
GuardianEntityRenderer
protected GuardianEntityRenderer(EntityRendererFactory.Context ctx, float shadowRadius, EntityModelLayer layer)- Mappings:
Namespace Name Mixin selector official <init>
Lemv;<init>(Lemj$a;FLedf;)V
intermediary <init>
Lnet/minecraft/class_907;<init>(Lnet/minecraft/class_5617$class_5618;FLnet/minecraft/class_5601;)V
named <init>
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;FLnet/minecraft/client/render/entity/model/EntityModelLayer;)V
-
-
Method Details
-
shouldRender
public boolean shouldRender(GuardianEntity guardianEntity, Frustum frustum, double double2, double double3, double double4)- Overrides:
shouldRender
in classMobEntityRenderer<GuardianEntity,GuardianEntityModel>
- Mappings:
Namespace Name Mixin selector official a
Lemv;a(Lbfb;Lekl;DDD)Z
intermediary method_3978
Lnet/minecraft/class_907;method_3978(Lnet/minecraft/class_1577;Lnet/minecraft/class_4604;DDD)Z
named shouldRender
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;shouldRender(Lnet/minecraft/entity/mob/GuardianEntity;Lnet/minecraft/client/render/Frustum;DDD)Z
-
fromLerpedPosition
- Mappings:
Namespace Name Mixin selector official a
Lemv;a(Lari;DF)Ldiu;
intermediary method_3979
Lnet/minecraft/class_907;method_3979(Lnet/minecraft/class_1309;DF)Lnet/minecraft/class_243;
named fromLerpedPosition
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;fromLerpedPosition(Lnet/minecraft/entity/LivingEntity;DF)Lnet/minecraft/util/math/Vec3d;
-
render
public void render(GuardianEntity guardianEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
render
in classMobEntityRenderer<GuardianEntity,GuardianEntityModel>
- Mappings:
Namespace Name Mixin selector official a
Lemv;a(Lbfb;FFLdlr;Lehq;I)V
intermediary method_3977
Lnet/minecraft/class_907;method_3977(Lnet/minecraft/class_1577;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named render
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;render(Lnet/minecraft/entity/mob/GuardianEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
method_23173
private static void method_23173(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, float float4, int int2, int int3, int int4, float float5, float float6)- Mappings:
Namespace Name Mixin selector official a
Lemv;a(Ldlv;Lb;La;FFFIIIFF)V
intermediary method_23173
Lnet/minecraft/class_907;method_23173(Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;FFFIIIFF)V
named method_23173
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;method_23173(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix3f;FFFIIIFF)V
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<GuardianEntity,GuardianEntityModel>
- Specified by:
getTexture
in classEntityRenderer<GuardianEntity>
- Mappings:
Namespace Name Mixin selector official a
Lemv;a(Lbfb;)Lwb;
intermediary method_3976
Lnet/minecraft/class_907;method_3976(Lnet/minecraft/class_1577;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/GuardianEntityRenderer;getTexture(Lnet/minecraft/entity/mob/GuardianEntity;)Lnet/minecraft/util/Identifier;
-