aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-09 13:31:16 +0200
committermakamys <makamys@outlook.com>2022-06-09 13:31:16 +0200
commit6b8f52c5dee4393db85e3d4e10c23502cc9ded84 (patch)
tree4fac8e33acbaf8f55388ef27f8e8bf42c7133260 /src/main/java/makamys/neodymium/mixin
parent1ff4e5832a60773d65690fb3643981f451f68255 (diff)
downloadNeodymium-6b8f52c5dee4393db85e3d4e10c23502cc9ded84.tar.gz
Neodymium-6b8f52c5dee4393db85e3d4e10c23502cc9ded84.tar.bz2
Neodymium-6b8f52c5dee4393db85e3d4e10c23502cc9ded84.zip
Organize imports
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java7
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinRenderGlobal_OptiFine.java1
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java2
-rw-r--r--src/main/java/makamys/neodymium/mixin/unused/lod/MixinChunkCache.java1
-rw-r--r--src/main/java/makamys/neodymium/mixin/unused/lod/MixinEntityRenderer.java4
-rw-r--r--src/main/java/makamys/neodymium/mixin/unused/lod/MixinRenderBlocks.java5
6 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
index 8814221..2316aa0 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
@@ -1,22 +1,15 @@
package makamys.neodymium.mixin;
-import java.nio.IntBuffer;
-
-import org.lwjgl.opengl.GL11;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
-import org.spongepowered.asm.mixin.injection.ModifyVariable;
import org.spongepowered.asm.mixin.injection.Redirect;
-import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import makamys.neodymium.Neodymium;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderGlobal;
import net.minecraft.client.renderer.WorldRenderer;
-import net.minecraft.entity.Entity;
/** Blocks vanilla chunk rendering while NeoRenderer is active. */
@Mixin(RenderGlobal.class)
diff --git a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal_OptiFine.java b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal_OptiFine.java
index c337c42..e79f4b7 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal_OptiFine.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal_OptiFine.java
@@ -8,7 +8,6 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
import makamys.neodymium.Neodymium;
-import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.RenderGlobal;
/** Blocks vanilla chunk rendering while NeoRenderer is active. (OptiFine compat) */
diff --git a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
index 884f919..90b190d 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
@@ -10,7 +10,6 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.Redirect;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
-import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import makamys.neodymium.Neodymium;
import makamys.neodymium.ducks.IWorldRenderer;
@@ -18,7 +17,6 @@ import makamys.neodymium.renderer.ChunkMesh;
import makamys.neodymium.renderer.NeoRenderer;
import makamys.neodymium.renderer.lod.FarChunkCache;
import makamys.neodymium.renderer.lod.FarWorldRenderer;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.client.renderer.entity.RenderItem;
diff --git a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinChunkCache.java b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinChunkCache.java
index 5c5b2c2..98dce9d 100644
--- a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinChunkCache.java
+++ b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinChunkCache.java
@@ -5,7 +5,6 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
import makamys.neodymium.Neodymium;
-import makamys.neodymium.renderer.NeoRenderer;
import makamys.neodymium.renderer.lod.FarChunkCache;
import net.minecraft.world.ChunkCache;
import net.minecraft.world.World;
diff --git a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinEntityRenderer.java b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinEntityRenderer.java
index a88ac72..7ddade1 100644
--- a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinEntityRenderer.java
+++ b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinEntityRenderer.java
@@ -1,17 +1,13 @@
package makamys.neodymium.mixin.unused.lod;
-import org.lwjgl.opengl.GL11;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
-import org.spongepowered.asm.mixin.injection.Redirect;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import makamys.neodymium.Neodymium;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.EntityRenderer;
-import net.minecraft.entity.EntityLivingBase;
/** Unused remnant from LODMod. Handles changing fog distance. */
@Mixin(EntityRenderer.class)
diff --git a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinRenderBlocks.java b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinRenderBlocks.java
index 669058f..0af9799 100644
--- a/src/main/java/makamys/neodymium/mixin/unused/lod/MixinRenderBlocks.java
+++ b/src/main/java/makamys/neodymium/mixin/unused/lod/MixinRenderBlocks.java
@@ -4,15 +4,10 @@ import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
import makamys.neodymium.Neodymium;
-import makamys.neodymium.renderer.lod.FarChunkCache;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import net.minecraft.world.chunk.Chunk;
/** Unused remnant from LODMod. Disables a wall being drawn on the edges of chunks facing unloaded chunks. */
@Mixin(RenderBlocks.class)