mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Add some .toString()s
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
8c4820f75e
commit
64ca0ef519
3 changed files with 15 additions and 0 deletions
|
@ -124,4 +124,9 @@ public class CraftBlock implements Block {
|
|||
public Block getRelative(final int modX, final int modY, final int modZ) {
|
||||
return getWorld().getBlockAt(getX() + modX, getY() + modY, getZ() + modZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CraftBlock{" + "world=" + world + "x=" + x + "y=" + y + "z=" + z + "type=" + type + "data=" + data + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,9 @@ public class CraftChunk implements Chunk {
|
|||
public int getZ() {
|
||||
return z;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CraftChunk{" + "x=" + x + "z=" + z + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,9 @@ public class CraftPlayer implements Player {
|
|||
public EntityPlayerMP getEntity() {
|
||||
return player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CraftPlayer{" + "name=" + name + '}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue