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
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