mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-30 08:26:36 +02:00
35 lines
556 B
Java
35 lines
556 B
Java
package ellpeck.actuallyadditions.util;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
public class WorldPos{
|
|
|
|
private int x;
|
|
private int y;
|
|
private int z;
|
|
private World world;
|
|
|
|
public WorldPos(World world, int x, int y, int z){
|
|
this.world = world;
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
}
|
|
|
|
public int getX(){
|
|
return this.x;
|
|
}
|
|
|
|
public int getY(){
|
|
return this.y;
|
|
}
|
|
|
|
public int getZ(){
|
|
return this.z;
|
|
}
|
|
|
|
public World getWorld(){
|
|
return this.world;
|
|
}
|
|
}
|