Class NecromancerEntityRenderer<P extends net.minecraft.world.entity.Entity & SkeletonParent<P,S>,S extends Skeleton>  
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<P>
foundry.veil.api.client.necromancer.render.NecromancerEntityRenderer<P,S> 
- Type Parameters:
- P- The entity to render
- S- The skeleton for the entity
public abstract class NecromancerEntityRenderer<P extends net.minecraft.world.entity.Entity & SkeletonParent<P,S>,S extends Skeleton>  
extends net.minecraft.client.renderer.entity.EntityRenderer<P>
A renderer for a necromancer entity.
- 
Field SummaryFields inherited from class net.minecraft.client.renderer.entity.EntityRendererentityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedNecromancerEntityRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, float shadowRadius) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddLayer(NecromancerEntityRenderLayer<P, S> layer) Adds a new layer to this renderer.createAnimator(P parent, S skeleton) Creates an animator for the specified entity and skeleton.abstract ScreateSkeleton(P parent) Creates a skeleton for the specified entity.net.minecraft.resources.ResourceLocationgetTextureLocation(P entity) voidrender(P parent, float entityYaw, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight) voidrender(P parent, NecromancerRenderer renderer, MatrixStack matrixStack, int packedLight, float partialTicks) Renders the necromancer entity.final voidsetupEntity(P parent) Adds a skeleton and animator to the specified entity.Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderergetBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
- 
Constructor Details- 
NecromancerEntityRendererprotected NecromancerEntityRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, float shadowRadius) 
 
- 
- 
Method Details- 
addLayerAdds a new layer to this renderer.- Parameters:
- layer- The layer to add
 
- 
setupEntityAdds a skeleton and animator to the specified entity.- Parameters:
- parent- The entity to set up
 
- 
createSkeletonCreates a skeleton for the specified entity.- Parameters:
- parent- The entity to create the skeleton for
- Returns:
- The skeleton for that entity
 
- 
createAnimatorCreates an animator for the specified entity and skeleton.- Parameters:
- parent- The entity to create the animator for
- skeleton- The skeleton of the entity
- Returns:
- The animator for that entity
 
- 
renderpublic void render(P parent, float entityYaw, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight) - Overrides:
- renderin class- net.minecraft.client.renderer.entity.EntityRenderer<P extends net.minecraft.world.entity.Entity & SkeletonParent<P,- S>> 
 
- 
renderpublic void render(P parent, NecromancerRenderer renderer, MatrixStack matrixStack, int packedLight, float partialTicks) Renders the necromancer entity.- Parameters:
- parent- The entity to render
- renderer- The renderer instance
- matrixStack- The current transform
- packedLight- The packed lightmap coordinates
- partialTicks- The percentage from last tick to this tick
 
- 
getTextureLocation- Specified by:
- getTextureLocationin class- net.minecraft.client.renderer.entity.EntityRenderer<P extends net.minecraft.world.entity.Entity & SkeletonParent<P,- S>> 
 
 
-