Class GuardianRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingRenderer<T,M>
net.minecraft.client.renderer.entity.MobRenderer<GuardianEntity,GuardianModel>
net.minecraft.client.renderer.entity.GuardianRenderer
- All Implemented Interfaces:
IEntityRenderer<GuardianEntity,
GuardianModel>
- Direct Known Subclasses:
ElderGuardianRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RenderType
private static final ResourceLocation
private static final ResourceLocation
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
Constructor Summary
ModifierConstructorDescriptionGuardianRenderer
(EntityRendererManager p_i46171_1_) protected
GuardianRenderer
(EntityRendererManager p_i50968_1_, float p_i50968_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate Vector3d
getPosition
(LivingEntity p_177110_1_, double p_177110_2_, float p_177110_4_) getTextureLocation
(GuardianEntity p_110775_1_) void
render
(GuardianEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) boolean
shouldRender
(GuardianEntity p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_) private static void
vertex
(IVertexBuilder p_229108_0_, Matrix4f p_229108_1_, Matrix3f p_229108_2_, float p_229108_3_, float p_229108_4_, float p_229108_5_, int p_229108_6_, int p_229108_7_, int p_229108_8_, float p_229108_9_, float p_229108_10_) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, renderSide, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale, setupRotations
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
Field Details
-
GUARDIAN_LOCATION
-
GUARDIAN_BEAM_LOCATION
-
BEAM_RENDER_TYPE
-
-
Constructor Details
-
GuardianRenderer
-
GuardianRenderer
-
-
Method Details
-
shouldRender
public boolean shouldRender(GuardianEntity p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_) - Overrides:
shouldRender
in classMobRenderer<GuardianEntity,
GuardianModel>
-
getPosition
-
render
public void render(GuardianEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) - Overrides:
render
in classMobRenderer<GuardianEntity,
GuardianModel>
-
vertex
private static void vertex(IVertexBuilder p_229108_0_, Matrix4f p_229108_1_, Matrix3f p_229108_2_, float p_229108_3_, float p_229108_4_, float p_229108_5_, int p_229108_6_, int p_229108_7_, int p_229108_8_, float p_229108_9_, float p_229108_10_) -
getTextureLocation
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<GuardianEntity,
GuardianModel> - Specified by:
getTextureLocation
in classEntityRenderer<GuardianEntity>
-