<1500 errors

This commit is contained in:
aidancbrady committed 2016-05-24 21:22:39 -04:00
1 parent 1f33df57fa
commit c6a09b5658
433 files changed
+2967 -1474

No files matched your search

+4 -3
View File
@@ -1,6 +1,7 @@
package mekanism.api;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.world.World;
import net.minecraft.world.chunk.Chunk;
@@ -62,7 +63,7 @@ public class Chunk3D
*/
public boolean exists(World world)
{
return world.getChunkProvider().chunkExists(xCoord, zCoord);
return world.getChunkProvider().getLoadedChunk(xCoord, zCoord) != null;
}
/**
@@ -79,9 +80,9 @@ public class Chunk3D
* Returns this Chunk3D in the Minecraft-based ChunkCoordIntPair format.
* @return this Chunk3D as a ChunkCoordIntPair
*/
public ChunkCoordIntPair toPair()
public ChunkPos getPos()
{
return new ChunkCoordIntPair(xCoord, zCoord);
return new ChunkPos(xCoord, zCoord);
}
@Override