Interface SuperByteBuffer

All Superinterfaces:
Rotate<SuperByteBuffer>, Scale<SuperByteBuffer>, Transform<SuperByteBuffer>, Translate<SuperByteBuffer>, TStack<SuperByteBuffer>
All Known Implementing Classes:
DefaultSuperByteBuffer

public interface SuperByteBuffer extends Transform<SuperByteBuffer>, TStack<SuperByteBuffer>
  • Method Details

    • renderInto

      void renderInto(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer)
    • isEmpty

      boolean isEmpty()
    • getTransforms

      com.mojang.blaze3d.vertex.PoseStack getTransforms()
    • reset

      <Self extends SuperByteBuffer> Self reset()
    • color

      <Self extends SuperByteBuffer> Self color(int color)
    • color

      <Self extends SuperByteBuffer> Self color(int r, int g, int b, int a)
    • disableDiffuse

      <Self extends SuperByteBuffer> Self disableDiffuse()
    • shiftUV

      <Self extends SuperByteBuffer> Self shiftUV(SpriteShiftEntry entry)
    • shiftUVScrolling

      <Self extends SuperByteBuffer> Self shiftUVScrolling(SpriteShiftEntry entry, float scrollU, float scrollV)
    • shiftUVtoSheet

      <Self extends SuperByteBuffer> Self shiftUVtoSheet(SpriteShiftEntry entry, float uTarget, float vTarget, int sheetSize)
    • overlay

      <Self extends SuperByteBuffer> Self overlay()
    • overlay

      <Self extends SuperByteBuffer> Self overlay(int overlay)
    • light

      <Self extends SuperByteBuffer> Self light()
      Indicate that this buffer should look up the light coordinates in the current level.
    • light

      <Self extends SuperByteBuffer> Self light(com.mojang.math.Matrix4f lightTransform)
      Indicate that this buffer should look up the light coordinates in the current level. Light Positions will be transformed by the passed Matrix before the lookup.
    • light

      <Self extends SuperByteBuffer> Self light(int packedLight)
    • hybridLight

      <Self extends SuperByteBuffer> Self hybridLight()
      Use max light from calculated light (world light or custom light) and vertex light for the final light value. Ineffective if no other light method was called.
    • fullNormalTransform

      <Self extends SuperByteBuffer> Self fullNormalTransform()
      Transforms normals not only by the local matrix stack, but also by the passed matrix stack.
    • rotate

      default <Self extends SuperByteBuffer> Self rotate(net.minecraft.core.Direction.Axis axis, float radians)
    • light

      default <Self extends SuperByteBuffer> Self light(com.mojang.math.Matrix4f lightTransform, int packedLight)
    • color

      default <Self extends SuperByteBuffer> Self color(Color color)
    • shiftUVScrolling

      default <Self extends SuperByteBuffer> Self shiftUVScrolling(SpriteShiftEntry entry, float scrollV)
    • forEntityRender

      default <Self extends SuperByteBuffer> Self forEntityRender()