Class Render1_18_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.client.render.Render1_18_2
public class Render1_18_2
extends mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
font, gl, matrix, mouseX, mouseY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalphaFuncEqual(float alpha) voidalphaFuncGreater(float alpha) voidalphaFuncLesser(float alpha) beginBuffer(Object buffer, int mode, Object vertexFormat) voidbindTexture(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> location) voidvoidvoiddepthMask(boolean mask) voidvoidvoidvoidvoidvoiddrawCenteredString(mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<?> font, String str, Number x, Number y, int color) voiddrawString(mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<?> font, String str, Number left, Number top, int color) voiddrawTooltip(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) voidvoidvoidvoidvoidvoidvoid<B> Bmods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrappergetBufferBuilderPC(int mode, int vertices) mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrappergetBufferBuilderPTC(int mode, int vertices) doubledoublenet.minecraft.client.gui.FontgetFont()mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPIgetGLAPI()com.mojang.blaze3d.vertex.PoseStackmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPIvoidvoidvoidvoidvoidrotate(float angle, float x, float y, float z) voidscale(float x, float y, float z) voidsetColor(float r, float g, float b, float a) voidvoidtranslate(double x, double y, double z) voidtranslate(float x, float y, float z) <B> BvertexColor(B buffer, float red, float green, float blue, float alpha) <B> BvertexWithMatrix(B buffer, Object matrix, float x, float y, float z) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
drawCenteredString, drawCenteredString, drawString, drawString, endBatch, endBatch, getGl, getMouseX, getMouseY, setColor, setFont, setMatrix, setMouseX, setMouseY, shadeFlat, shadeSmooth, unwrapFont, unwrapMatrix
-
Constructor Details
-
Render1_18_2
public Render1_18_2()
-
-
Method Details
-
alphaFuncEqual
public void alphaFuncEqual(float alpha) - Specified by:
alphaFuncEqualin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
alphaFuncGreater
public void alphaFuncGreater(float alpha) - Specified by:
alphaFuncGreaterin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
alphaFuncLesser
public void alphaFuncLesser(float alpha) - Specified by:
alphaFuncLesserin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
beginBuffer
- Specified by:
beginBufferin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
bindTexture
public void bindTexture(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> location) - Specified by:
bindTexturein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
blendTranslucent
public void blendTranslucent()- Specified by:
blendTranslucentin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
defaultBlendFunc
public void defaultBlendFunc()- Specified by:
defaultBlendFuncin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
depthMask
public void depthMask(boolean mask) - Specified by:
depthMaskin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
disableAlpha
public void disableAlpha()- Specified by:
disableAlphain classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
disableBlend
public void disableBlend()- Specified by:
disableBlendin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
disableCull
public void disableCull()- Specified by:
disableCullin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
disableLighting
public void disableLighting()- Specified by:
disableLightingin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
disableTexture
public void disableTexture()- Specified by:
disableTexturein classmods.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:
drawCenteredStringin classmods.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:
drawStringin classmods.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:
drawTooltipin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
enableAlpha
public void enableAlpha()- Specified by:
enableAlphain classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
enableBlend
public void enableBlend()- Specified by:
enableBlendin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
enableCull
public void enableCull()- Specified by:
enableCullin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
enableLighting
public void enableLighting()- Specified by:
enableLightingin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
enableTexture
public void enableTexture()- Specified by:
enableTexturein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
endBuffer
public void endBuffer()- Specified by:
endBufferin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
endVertex
- Specified by:
endVertexin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getBufferBuilder
public <B> B getBufferBuilder()- Specified by:
getBufferBuilderin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getBufferBuilderPC
public mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper getBufferBuilderPC(int mode, int vertices) - Specified by:
getBufferBuilderPCin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getBufferBuilderPTC
public mods.thecomputerizer.theimpossiblelibrary.api.client.render.VertexWrapper getBufferBuilderPTC(int mode, int vertices) - Specified by:
getBufferBuilderPTCin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getDirectMouseX
public double getDirectMouseX()- Specified by:
getDirectMouseXin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getDirectMouseY
public double getDirectMouseY()- Specified by:
getDirectMouseYin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getFont
public net.minecraft.client.gui.Font getFont()- Overrides:
getFontin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getGLAPI
public mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI getGLAPI()- Specified by:
getGLAPIin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
getMatrix
public com.mojang.blaze3d.vertex.PoseStack getMatrix()- Overrides:
getMatrixin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
init
- Specified by:
initin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
modelView
public void modelView()- Specified by:
modelViewin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
popMatrix
public void popMatrix()- Specified by:
popMatrixin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
pushMatrix
public void pushMatrix()- Specified by:
pushMatrixin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
renderSourceImmediate
- Specified by:
renderSourceImmediatein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
resetTextureMatrix
public void resetTextureMatrix()- Specified by:
resetTextureMatrixin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
rotate
public void rotate(float angle, float x, float y, float z) - Specified by:
rotatein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
scale
public void scale(float x, float y, float z) - Specified by:
scalein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
setColor
public void setColor(float r, float g, float b, float a) - Specified by:
setColorin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
setPosColorShader
public void setPosColorShader()- Specified by:
setPosColorShaderin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
translate
public void translate(double x, double y, double z) - Specified by:
translatein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
translate
public void translate(float x, float y, float z) - Specified by:
translatein classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
vertexWithMatrix
- Specified by:
vertexWithMatrixin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-
vertexColor
public <B> B vertexColor(B buffer, float red, float green, float blue, float alpha) - Specified by:
vertexColorin classmods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI
-