java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.client.render.VertexWrapper1_18_2

public class VertexWrapper1_18_2 extends mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.mojang.blaze3d.vertex.BufferBuilder
     
    protected final com.mojang.blaze3d.vertex.VertexFormat
     
    protected final com.mojang.blaze3d.vertex.VertexFormat.Mode
     
    protected final com.mojang.blaze3d.vertex.Tesselator
     

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper

    mode
  • Constructor Summary

    Constructors
    Constructor
    Description
    VertexWrapper1_18_2(com.mojang.blaze3d.vertex.VertexFormat.Mode mode, com.mojang.blaze3d.vertex.VertexFormat format, int numVertices, int... vertexSizes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected void
    onVertexEnded(Number[][] numbers)
     
    protected void
    pushBuffer(com.mojang.blaze3d.vertex.VertexFormatElement element, Number[] numbers)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper

    clearBuffers, color, color, color, endVertex, finish, getCurrentVertex, getVertex, pos, pos, setVertexSize, start, tex, tex

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • format

      protected final com.mojang.blaze3d.vertex.VertexFormat format
    • formatMode

      protected final com.mojang.blaze3d.vertex.VertexFormat.Mode formatMode
    • tesselator

      protected final com.mojang.blaze3d.vertex.Tesselator tesselator
    • buffer

      protected final com.mojang.blaze3d.vertex.BufferBuilder buffer
  • Constructor Details

    • VertexWrapper1_18_2

      public VertexWrapper1_18_2(com.mojang.blaze3d.vertex.VertexFormat.Mode mode, com.mojang.blaze3d.vertex.VertexFormat format, int numVertices, int... vertexSizes)
  • Method Details

    • begin

      protected void begin()
      Specified by:
      begin in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper
    • draw

      protected void draw()
      Specified by:
      draw in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper
    • onVertexEnded

      protected void onVertexEnded(Number[][] numbers)
      Specified by:
      onVertexEnded in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper
    • pushBuffer

      protected void pushBuffer(com.mojang.blaze3d.vertex.VertexFormatElement element, Number[] numbers)