Class NecromancerEntityRenderLayer<T extends net.minecraft.world.entity.Entity & SkeletonParent<T,M>,M extends Skeleton>
java.lang.Object
foundry.veil.api.client.necromancer.render.NecromancerEntityRenderLayer<T,M>
- Type Parameters:
T
- The type of entity to renderM
- The skeleton to render
- Direct Known Subclasses:
NecromancerSkinEntityRenderLayer
public abstract class NecromancerEntityRenderLayer<T extends net.minecraft.world.entity.Entity & SkeletonParent<T,M>,M extends Skeleton>
extends Object
A single render layer of an entity.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
render
(T parent, M skeleton, NecromancerRenderer renderer, MatrixStack matrixStack, int packedLight, float partialTicks) Renders a feature for the specified entity and skeleton.
-
Field Details
-
renderer
protected final NecromancerEntityRenderer<T extends net.minecraft.world.entity.Entity & SkeletonParent<T,M>, rendererM extends Skeleton>
-
-
Constructor Details
-
NecromancerEntityRenderLayer
-
-
Method Details
-
render
public abstract void render(T parent, M skeleton, NecromancerRenderer renderer, MatrixStack matrixStack, int packedLight, float partialTicks) Renders a feature for the specified entity and skeleton.- Parameters:
parent
- The entity to drawskeleton
- The skeleton of the entity to base a pose onrenderer
- The renderer instancematrixStack
- The current transformpackedLight
- The packed lightmap coordinatespartialTicks
- The percentage from last tick to this tick
-