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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final RenderTypeprivate static final ResourceLocationprivate static final ResourceLocationFields inherited from class net.minecraft.client.renderer.entity.MobRenderer
LEASH_RENDER_STEPSFields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, modelFields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength - 
Constructor Summary
ConstructorsModifierConstructorDescriptionGuardianRenderer(EntityRendererProvider.Context p_174159_) protectedGuardianRenderer(EntityRendererProvider.Context p_174161_, float p_174162_, ModelLayerLocation p_174163_)  - 
Method Summary
Modifier 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.MobRenderer
shouldShowNameMethods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, scale, setupRotationsMethods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag 
- 
Field Details
- 
GUARDIAN_LOCATION
 - 
GUARDIAN_BEAM_LOCATION
 - 
BEAM_RENDER_TYPE
 
 - 
 - 
Constructor Details
- 
GuardianRenderer
 - 
GuardianRenderer
protected GuardianRenderer(EntityRendererProvider.Context p_174161_, float p_174162_, ModelLayerLocation p_174163_)  
 - 
 - 
Method Details
- 
shouldRender
public boolean shouldRender(Guardian p_114836_, Frustum p_114837_, double p_114838_, double p_114839_, double p_114840_) - Overrides:
 shouldRenderin classMobRenderer<Guardian,GuardianModel> 
 - 
getPosition
 - 
render
public void render(Guardian p_114829_, float p_114830_, float p_114831_, PoseStack p_114832_, MultiBufferSource p_114833_, int p_114834_) - Overrides:
 renderin classMobRenderer<Guardian,GuardianModel> 
 - 
vertex
private 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 interfaceRenderLayerParent<Guardian,GuardianModel> - Specified by:
 getTextureLocationin classEntityRenderer<Guardian>
 
 -