MCPcopy Create free account
hub / github.com/boxbeam/RedLib / toString

Method toString

src/redempt/redlib/region/CuboidRegion.java:346–349  ·  view source on GitHub ↗

Converts this Region to a String which can be converted back with CuboidRegion#fromString(String) later @return The String representation of this Region

()

Source from the content-addressed store, hash-verified

344 * @return The String representation of this Region
345 */
346 public String toString() {
347 return getWorld().getName() + " " + start.getX() + " " + start.getY() + " " + start.getZ() + " "
348 + end.getX() + " " + end.getY() + " " + end.getZ();
349 }
350
351 /**
352 * Converts a String generated by {@link CuboidRegion#toString()} back to a Region

Callers

nothing calls this directly

Calls 5

getWorldMethod · 0.95
getYMethod · 0.80
getNameMethod · 0.45
getXMethod · 0.45
getZMethod · 0.45

Tested by

no test coverage detected