mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 11:39:07 +00:00
Cleanup
This commit is contained in:
@@ -100,9 +100,8 @@ public class NibbleArray implements Writable {
|
||||
}
|
||||
}
|
||||
|
||||
public byte get(int x, int y, int z)
|
||||
{
|
||||
return get(index(x,y,z));
|
||||
public byte get(int x, int y, int z) {
|
||||
return get(index(x, y, z));
|
||||
}
|
||||
|
||||
public int index(int x, int y, int z) {
|
||||
@@ -111,9 +110,8 @@ public class NibbleArray implements Writable {
|
||||
|
||||
private transient int bitIndex, byteIndex, bitInByte;
|
||||
|
||||
public void set(int x, int y, int z, int nibble)
|
||||
{
|
||||
set(index(x,y,z), nibble);
|
||||
public void set(int x, int y, int z, int nibble) {
|
||||
set(index(x, y, z), nibble);
|
||||
}
|
||||
|
||||
public void set(int index, int nibble) {
|
||||
|
||||
@@ -323,9 +323,7 @@ public class IO {
|
||||
public static void writeAll(File f, Object c) throws IOException {
|
||||
try {
|
||||
f.getParentFile().mkdirs();
|
||||
}
|
||||
catch(Throwable ignored)
|
||||
{
|
||||
} catch (Throwable ignored) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -92,13 +92,12 @@ public class BlockPosition {
|
||||
return var3;
|
||||
}
|
||||
|
||||
public Block toBlock(World world)
|
||||
{
|
||||
return world.getBlockAt(x,y,z);
|
||||
public Block toBlock(World world) {
|
||||
return world.getBlockAt(x, y, z);
|
||||
}
|
||||
|
||||
public BlockPosition add(int x, int y, int z) {
|
||||
return new BlockPosition(x,y,z);
|
||||
return new BlockPosition(x, y, z);
|
||||
}
|
||||
|
||||
public void min(BlockPosition i) {
|
||||
|
||||
@@ -18,11 +18,6 @@
|
||||
|
||||
package com.volmit.iris.util.math;
|
||||
|
||||
import com.volmit.iris.engine.object.IrisBiomePaletteLayer;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.block.Block;
|
||||
|
||||
public class Position2 {
|
||||
private int x;
|
||||
private int z;
|
||||
|
||||
Reference in New Issue
Block a user