-
-
Method Summary
Gets the
UUID
, if available, of the user who created the
BlockSnapshot
at passed block position.
Gets the
UUID
, if available, of the user who created the
BlockSnapshot
at passed block position.
Gets the
UUID
, if available, of the user who last notified the
BlockSnapshot
located at passed block coordinates.
Gets the
UUID
, if available, of the user who last notified the
BlockSnapshot
located at passed block position.
default void
Sets the
UUID
of the user who created the
BlockSnapshot
located at passed block coordinates.
default void
Sets the
UUID
of the user who created the
BlockSnapshot
located at passed block position.
default void
Sets the
UUID
of the user who last notified the
BlockSnapshot
located at passed block coordinates.
default void
Sets the
UUID
of the user who last notified the
BlockSnapshot
located at passed block position.
Methods inherited from interface org.spongepowered.api.world.volume.game.LocationBaseDataHolder
get, get, get, get, getDouble, getDouble, getDouble, getDouble, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getValue, getValue, getValue, getValue, getValues, getValues, keys, keys, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orNull, orNull, orNull, orNull, require, require, require, require, supports, supports, supports, supports, supports, supports
Methods inherited from interface org.spongepowered.api.world.volume.game.LocationBaseDataHolder.Mutable
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, offer, offer, offer, offer, offer, offer, remove, remove, remove, remove, setRawData, setRawData, transform, transform, transform, transform, undo, undo, validateRawData, validateRawData
-
Method Details
-
creator
Gets the
UUID
, if available, of the user who created the
BlockSnapshot
at passed block position.
- Parameters:
pos
- The position to be checked
- Returns:
- The
UUID
if one exists
-
creator
Gets the
UUID
, if available, of the user who created the
BlockSnapshot
at passed block position.
- Parameters:
x
- The x coordinate
y
- The y coordinate
z
- The z coordinate
- Returns:
- The
UUID
if one exists
-
notifier
Gets the
UUID
, if available, of the user who last notified the
BlockSnapshot
located at passed block position.
- Parameters:
pos
- The position to be checked
- Returns:
- The
UUID
if one exists
-
notifier
Gets the
UUID
, if available, of the user who last notified the
BlockSnapshot
located at passed block coordinates.
- Parameters:
x
- The x coordinate
y
- The y coordinate
z
- The z coordinate
- Returns:
- The
UUID
if available
-
setCreator
Sets the
UUID
of the user who created the
BlockSnapshot
located at passed block position.
- Parameters:
pos
- The block position where the user data should be applied
uuid
- The UUID
to set as creator
-
setCreator
default void setCreator(int x,
int y,
int z,
@Nullable UUID uuid)
Sets the
UUID
of the user who created the
BlockSnapshot
located at passed block coordinates.
- Parameters:
x
- The x coordinate where the user data should be applied
y
- The y coordinate where the user data should be applied
z
- The z coordinate where the user data should be applied
uuid
- The UUID
to set as creator
-
setNotifier
Sets the
UUID
of the user who last notified the
BlockSnapshot
located at passed block position.
- Parameters:
pos
- The block position where the user data should be applied
uuid
- The UUID
to set as notifier
-
setNotifier
default void setNotifier(int x,
int y,
int z,
@Nullable UUID uuid)
Sets the
UUID
of the user who last notified the
BlockSnapshot
located at passed block coordinates.
- Parameters:
x
- The x coordinate where the user data should be applied
y
- The y coordinate where the user data should be applied
z
- The z coordinate where the user data should be applied
uuid
- The UUID
to set as notifier