diff options
author | makamys <makamys@outlook.com> | 2022-06-25 16:21:18 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-25 17:57:18 +0200 |
commit | f22a52def90f87d9a3193fc34008e72ae4dad81f (patch) | |
tree | 47d7bc1bb208ba290b9b9c6d1c35a3c60c543a41 /src | |
parent | 993ae21251face5a7de2e6647f1fdb7682d7a19b (diff) | |
download | Neodymium-f22a52def90f87d9a3193fc34008e72ae4dad81f.tar.gz Neodymium-f22a52def90f87d9a3193fc34008e72ae4dad81f.tar.bz2 Neodymium-f22a52def90f87d9a3193fc34008e72ae4dad81f.zip |
Remove more unused LOD stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index 03c7911..78a4b21 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -31,14 +31,10 @@ import makamys.neodymium.renderer.Mesh.GPUStatus; import makamys.neodymium.util.GuiHelper; import makamys.neodymium.util.Preprocessor; import makamys.neodymium.util.Util; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.entity.Entity; -import net.minecraft.util.EnumFacing; import net.minecraft.world.ChunkCoordIntPair; -import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; /** The main renderer class. */ @@ -547,15 +543,6 @@ public class NeoRenderer { setMeshVisible(mesh, false); } - public boolean shouldSideBeRendered(Block block, IBlockAccess ba, int x, int y, int z, int w) { - EnumFacing facing = EnumFacing.values()[w]; - if(block.getMaterial() == Material.water && facing != EnumFacing.UP && facing != EnumFacing.DOWN && !Minecraft.getMinecraft().theWorld.getChunkFromBlockCoords(x, z).isChunkLoaded) { - return false; - } else { - return block.shouldSideBeRendered(ba, x, y, z, w); - } - } - public List<String> getDebugText() { List<String> text = new ArrayList<>(); text.addAll(Arrays.asList( |