java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
mods.thecomputerizer.theimpossiblelibrary.shared.v20.client.render.Render1_20

public class Render1_20 extends mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
  • Field Details

    • modelView

      protected com.mojang.blaze3d.vertex.PoseStack modelView
  • Constructor Details

    • Render1_20

      protected Render1_20(GL1_20 gl)
    • Render1_20

      public Render1_20()
  • Method Details

    • alphaFuncEqual

      public void alphaFuncEqual(float alpha)
      Specified by:
      alphaFuncEqual in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • alphaFuncGreater

      public void alphaFuncGreater(float alpha)
      Specified by:
      alphaFuncGreater in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • alphaFuncLesser

      public void alphaFuncLesser(float alpha)
      Specified by:
      alphaFuncLesser in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • beginBuffer

      public Object beginBuffer(Object buffer, int mode, Object vertexFormat)
      Specified by:
      beginBuffer in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • bindTexture

      public void bindTexture(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> location)
      Specified by:
      bindTexture in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • blendTranslucent

      public void blendTranslucent()
      Specified by:
      blendTranslucent in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • defaultBlendFunc

      public void defaultBlendFunc()
      Specified by:
      defaultBlendFunc in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • depthMask

      public void depthMask(boolean mask)
      Specified by:
      depthMask in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • disableAlpha

      public void disableAlpha()
      Specified by:
      disableAlpha in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • disableBlend

      public void disableBlend()
      Specified by:
      disableBlend in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • disableCull

      public void disableCull()
      Specified by:
      disableCull in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • disableLighting

      public void disableLighting()
      Specified by:
      disableLighting in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • disableTexture

      public void disableTexture()
      Specified by:
      disableTexture in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • drawCenteredString

      public void drawCenteredString(mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<?> font, String str, Number x, Number y, int color)
      Specified by:
      drawCenteredString in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • drawString

      public void drawString(mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<?> font, String str, Number left, Number top, int color)
      Specified by:
      drawString in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • drawTooltip

      public void drawTooltip(mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<?> font, Collection<mods.thecomputerizer.theimpossiblelibrary.api.text.TextAPI<?>> lines, Number x, Number y, Number width, Number height, Number maxWidth)
      Specified by:
      drawTooltip in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • enableAlpha

      public void enableAlpha()
      Specified by:
      enableAlpha in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • enableBlend

      public void enableBlend()
      Specified by:
      enableBlend in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • enableCull

      public void enableCull()
      Specified by:
      enableCull in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • enableLighting

      public void enableLighting()
      Specified by:
      enableLighting in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • enableTexture

      public void enableTexture()
      Specified by:
      enableTexture in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • endBuffer

      public void endBuffer()
      Specified by:
      endBuffer in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • endVertex

      public void endVertex(Object buffer)
      Specified by:
      endVertex in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getBufferBuilder

      public <B> B getBufferBuilder()
      Specified by:
      getBufferBuilder in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getBufferBuilderPC

      public mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper getBufferBuilderPC(int mode, int vertices)
      Specified by:
      getBufferBuilderPC in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getBufferBuilderPTC

      public mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper getBufferBuilderPTC(int mode, int vertices)
      Specified by:
      getBufferBuilderPTC in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getBufferMode

      protected com.mojang.blaze3d.vertex.VertexFormat.Mode getBufferMode(int mode)
    • getDirectMouseX

      public double getDirectMouseX()
      Specified by:
      getDirectMouseX in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getDirectMouseY

      public double getDirectMouseY()
      Specified by:
      getDirectMouseY in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getFont

      public net.minecraft.client.gui.Font getFont()
      Overrides:
      getFont in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getGLAPI

      public mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI getGLAPI()
      Specified by:
      getGLAPI in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • getGraphics

      @Nullable public @Nullable net.minecraft.client.gui.GuiGraphics getGraphics()
    • getMatrix

      public com.mojang.blaze3d.vertex.PoseStack getMatrix()
      Overrides:
      getMatrix in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • init

      public mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI init(Object context)
      Specified by:
      init in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • modelView

      public void modelView()
      Specified by:
      modelView in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • popMatrix

      public void popMatrix()
      Specified by:
      popMatrix in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • pushMatrix

      public void pushMatrix()
      Specified by:
      pushMatrix in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • renderSourceImmediate

      public Object renderSourceImmediate()
      Specified by:
      renderSourceImmediate in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • resetTextureMatrix

      public void resetTextureMatrix()
      Specified by:
      resetTextureMatrix in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • rotate

      public void rotate(float angle, float x, float y, float z)
      Specified by:
      rotate in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • scale

      public void scale(float x, float y, float z)
      Specified by:
      scale in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • setColor

      public void setColor(float r, float g, float b, float a)
      Specified by:
      setColor in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • setPosColorShader

      public void setPosColorShader()
      Specified by:
      setPosColorShader in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • translate

      public void translate(double x, double y, double z)
      Specified by:
      translate in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • translate

      public void translate(float x, float y, float z)
      Specified by:
      translate in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • vertexWithMatrix

      public <B> B vertexWithMatrix(B buffer, Object matrix, float x, float y, float z)
      Specified by:
      vertexWithMatrix in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
    • vertexColor

      public <B> B vertexColor(B buffer, float red, float green, float blue, float alpha)
      Specified by:
      vertexColor in class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI