Class NecromancerRenderDispatcher.Batched

java.lang.Object
foundry.veil.impl.client.necromancer.render.NecromancerRenderDispatcher.Batched
All Implemented Interfaces:
NecromancerRenderer, net.minecraft.client.renderer.MultiBufferSource
Enclosing class:
NecromancerRenderDispatcher

public static class NecromancerRenderDispatcher.Batched extends Object
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.client.renderer.MultiBufferSource

    net.minecraft.client.renderer.MultiBufferSource.BufferSource
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected final org.joml.Matrix4f
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    draw(net.minecraft.client.renderer.RenderType renderType, Skeleton skeleton, Skin skin, float partialTicks)
    Queues the specified skeleton with the specified skin to be rendered.
    void
    end()
     
    com.mojang.blaze3d.vertex.VertexConsumer
    getBuffer(net.minecraft.client.renderer.RenderType renderType)
     
    void
    Fully resets the renderer state to default.
    void
    setColor(float r, float g, float b, float a)
     
    void
    setColor(int color)
     
    void
    setTransform(org.joml.Matrix4fc transform)
     
    void
    setUv1(int u, int v)
     
    void
    setUv2(int u, int v)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface foundry.veil.api.client.necromancer.render.NecromancerRenderer

    setLight, setOverlay
  • Field Details

    • overlay

      protected int overlay
    • light

      protected int light
    • r

      protected int r
    • g

      protected int g
    • b

      protected int b
    • a

      protected int a
    • transform

      protected final org.joml.Matrix4f transform
  • Constructor Details

    • Batched

      public Batched()
  • Method Details

    • draw

      public void draw(net.minecraft.client.renderer.RenderType renderType, Skeleton skeleton, Skin skin, float partialTicks)
      Description copied from interface: NecromancerRenderer
      Queues the specified skeleton with the specified skin to be rendered.
      Parameters:
      skeleton - The skeleton to draw the skin with
      skin - The skin to draw
    • getBuffer

      public com.mojang.blaze3d.vertex.VertexConsumer getBuffer(net.minecraft.client.renderer.RenderType renderType)
    • begin

      public void begin()
    • end

      public void end()
    • setUv1

      public void setUv1(int u, int v)
      Specified by:
      setUv1 in interface NecromancerRenderer
    • setUv2

      public void setUv2(int u, int v)
      Specified by:
      setUv2 in interface NecromancerRenderer
    • setColor

      public void setColor(float r, float g, float b, float a)
      Specified by:
      setColor in interface NecromancerRenderer
    • setColor

      public void setColor(int color)
      Specified by:
      setColor in interface NecromancerRenderer
    • reset

      public void reset()
      Description copied from interface: NecromancerRenderer
      Fully resets the renderer state to default.
      Specified by:
      reset in interface NecromancerRenderer
    • setTransform

      public void setTransform(org.joml.Matrix4fc transform)
      Specified by:
      setTransform in interface NecromancerRenderer