Class GuardianRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<T,M>
 
net.minecraft.client.renderer.entity.MobRenderer<Guardian,GuardianModel>
 
net.minecraft.client.renderer.entity.GuardianRenderer
- All Implemented Interfaces:
- RenderLayerParent<Guardian,- GuardianModel> 
- Direct Known Subclasses:
- ElderGuardianRenderer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final RenderTypeprivate static final ResourceLocationprivate static final ResourceLocationFields inherited from class net.minecraft.client.renderer.entity.MobRendererLEASH_RENDER_STEPSFields inherited from class net.minecraft.client.renderer.entity.LivingEntityRendererlayers, modelFields inherited from class net.minecraft.client.renderer.entity.EntityRendererentityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
- 
Constructor SummaryConstructorsModifierConstructorDescriptionGuardianRenderer(EntityRendererProvider.Context p_174159_) protectedGuardianRenderer(EntityRendererProvider.Context p_174161_, float p_174162_, ModelLayerLocation p_174163_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate Vec3getPosition(LivingEntity p_114803_, double p_114804_, float p_114805_) getTextureLocation(Guardian p_114827_) voidrender(Guardian p_114829_, float p_114830_, float p_114831_, PoseStack p_114832_, MultiBufferSource p_114833_, int p_114834_) booleanshouldRender(Guardian p_114836_, Frustum p_114837_, double p_114838_, double p_114839_, double p_114840_) private static voidvertex(VertexConsumer p_253637_, org.joml.Matrix4f p_253920_, org.joml.Matrix3f p_253881_, float p_253994_, float p_254492_, float p_254474_, int p_254080_, int p_253655_, int p_254133_, float p_254233_, float p_253939_) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderershouldShowNameMethods inherited from class net.minecraft.client.renderer.entity.LivingEntityRendereraddLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, scale, setupRotationsMethods inherited from class net.minecraft.client.renderer.entity.EntityRenderergetBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
- 
Field Details- 
GUARDIAN_LOCATION
- 
GUARDIAN_BEAM_LOCATION
- 
BEAM_RENDER_TYPE
 
- 
- 
Constructor Details- 
GuardianRenderer
- 
GuardianRendererprotected GuardianRenderer(EntityRendererProvider.Context p_174161_, float p_174162_, ModelLayerLocation p_174163_) 
 
- 
- 
Method Details- 
shouldRenderpublic boolean shouldRender(Guardian p_114836_, Frustum p_114837_, double p_114838_, double p_114839_, double p_114840_) - Overrides:
- shouldRenderin class- MobRenderer<Guardian,- GuardianModel> 
 
- 
getPosition
- 
renderpublic void render(Guardian p_114829_, float p_114830_, float p_114831_, PoseStack p_114832_, MultiBufferSource p_114833_, int p_114834_) - Overrides:
- renderin class- MobRenderer<Guardian,- GuardianModel> 
 
- 
vertexprivate static void vertex(VertexConsumer p_253637_, org.joml.Matrix4f p_253920_, org.joml.Matrix3f p_253881_, float p_253994_, float p_254492_, float p_254474_, int p_254080_, int p_253655_, int p_254133_, float p_254233_, float p_253939_) 
- 
getTextureLocation- Specified by:
- getTextureLocationin interface- RenderLayerParent<Guardian,- GuardianModel> 
- Specified by:
- getTextureLocationin class- EntityRenderer<Guardian>
 
 
-