mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 08:08:34 +00:00
Make block positions copy on click for //size
6925d3715a6c6992d01ab1d4b5564bb9535b6711 Co-Authored-By: Lewis B <17665267+lewisjb@users.noreply.github.com>
This commit is contained in:
@ -610,4 +610,12 @@ public class BlockVector2 {
|
||||
public String toString() {
|
||||
return "(" + x + ", " + z + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation that is supported by the parser.
|
||||
* @return string
|
||||
*/
|
||||
public String toParserString() {
|
||||
return x + "," + z;
|
||||
}
|
||||
}
|
||||
|
@ -787,6 +787,14 @@ public abstract class BlockVector3 {
|
||||
return "(" + getX() + ", " + getY() + ", " + getZ() + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation that is supported by the parser.
|
||||
* @return string
|
||||
*/
|
||||
public String toParserString() {
|
||||
return getX() + "," + getY() + "," + getZ();
|
||||
}
|
||||
|
||||
//Used by VS fork
|
||||
public BlockVector3 plus(BlockVector3 other) {
|
||||
return add(other);
|
||||
|
@ -478,4 +478,12 @@ public final class Vector2 {
|
||||
return "(" + x + ", " + z + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation that is supported by the parser.
|
||||
* @return string
|
||||
*/
|
||||
public String toParserString() {
|
||||
return x + "," + z;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -639,4 +639,12 @@ public abstract class Vector3 {
|
||||
return "(" + x + ", " + y + ", " + z + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation that is supported by the parser.
|
||||
* @return string
|
||||
*/
|
||||
public String toParserString() {
|
||||
return getX() + "," + getY() + "," + getZ();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user