Location class

This translates into Minecraft Coordinates.

Constructors

Location(String location)
takes in a string and translates it into coordinates
const
Location.clone(Location loc)
Clones a Location:
factory
Location.glob({double x = 0, double y = 0, double z = 0})
The Location class provides a wrapper for global(9 9 9) coordinates:
const
Location.here()
Selects the current Position
const
Location.local({double x = 0, double y = 0, double z = 0})
The Location class provides a wrapper for local(^ ^ ^) coordinates:
const
Location.rel({double x = 0, double y = 0, double z = 0})
The Location class provides a wrapper for relative(~ ~ ~) coordinates:
const

Properties

hashCode int
The hash code for this object.
no setterinherited
location String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
final
y double
final
z double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
storeResult(Widget w, {required String path, String datatype = 'double', double scale = 1, bool useSuccess = false}) Group
This stores a result or success of a Widget in the nbt path of a location. Example:
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited