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 render
M - 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 Details

  • Constructor Details

  • 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 draw
      skeleton - The skeleton of the entity to base a pose on
      renderer - The renderer instance
      matrixStack - The current transform
      packedLight - The packed lightmap coordinates
      partialTicks - The percentage from last tick to this tick