This commit is contained in:
Martin Robertz committed 2023-11-11 12:07:34 +01:00
1 parent c0dd868ca6
commit afb21dcf8c
7 files changed
+130 -13

No files matched your search

@@ -1,6 +1,8 @@
package team.chisel.client.gui.widgets;
import static team.chisel.client.gui.GuiChisel.*;
import static team.chisel.client.gui.GuiChisel.TEXTURE_HEIGHT;
import static team.chisel.client.gui.GuiChisel.TEXTURE_RESOURCE_LOCATION;
import static team.chisel.client.gui.GuiChisel.TEXTURE_WIDTH;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
@@ -1,6 +1,14 @@
package team.chisel.client.render;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL11.GL_BLEND;
import static org.lwjgl.opengl.GL11.GL_ONE_MINUS_SRC_ALPHA;
import static org.lwjgl.opengl.GL11.GL_SRC_ALPHA;
import static org.lwjgl.opengl.GL11.glBlendFunc;
import static org.lwjgl.opengl.GL11.glDisable;
import static org.lwjgl.opengl.GL11.glEnable;
import static org.lwjgl.opengl.GL11.glPopMatrix;
import static org.lwjgl.opengl.GL11.glPushMatrix;
import static org.lwjgl.opengl.GL11.glTranslatef;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
@@ -1,6 +1,13 @@
package team.chisel.client.render;
import static team.chisel.ctmlib.Dir.*;
import static team.chisel.ctmlib.Dir.BOTTOM;
import static team.chisel.ctmlib.Dir.BOTTOM_LEFT;
import static team.chisel.ctmlib.Dir.BOTTOM_RIGHT;
import static team.chisel.ctmlib.Dir.LEFT;
import static team.chisel.ctmlib.Dir.RIGHT;
import static team.chisel.ctmlib.Dir.TOP;
import static team.chisel.ctmlib.Dir.TOP_LEFT;
import static team.chisel.ctmlib.Dir.TOP_RIGHT;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -1,6 +1,20 @@
package team.chisel.client.render.tile;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL11.GL_ALL_ATTRIB_BITS;
import static org.lwjgl.opengl.GL11.GL_BLEND;
import static org.lwjgl.opengl.GL11.GL_ONE_MINUS_CONSTANT_ALPHA;
import static org.lwjgl.opengl.GL11.GL_SRC_ALPHA;
import static org.lwjgl.opengl.GL11.glBlendFunc;
import static org.lwjgl.opengl.GL11.glDepthMask;
import static org.lwjgl.opengl.GL11.glEnable;
import static org.lwjgl.opengl.GL11.glPopAttrib;
import static org.lwjgl.opengl.GL11.glPopMatrix;
import static org.lwjgl.opengl.GL11.glPushAttrib;
import static org.lwjgl.opengl.GL11.glPushMatrix;
import static org.lwjgl.opengl.GL11.glRotatef;
import static org.lwjgl.opengl.GL11.glScalef;
import static org.lwjgl.opengl.GL11.glTranslated;
import static org.lwjgl.opengl.GL11.glTranslatef;
import java.util.Random;