Package net.lewmc.essence.utils
Class LocationUtil
java.lang.Object
net.lewmc.essence.utils.LocationUtil
Essence location utility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Location
GetRandomLocation
(org.bukkit.entity.Player player, org.bukkit.WorldBorder wb) void
UpdateLastLocation
(org.bukkit.entity.Player player)
-
Constructor Details
-
LocationUtil
Constructor for the LocationUtil class.- Parameters:
plugin
- Reference to the main Essence class.
-
-
Method Details
-
UpdateLastLocation
public void UpdateLastLocation(org.bukkit.entity.Player player) -
GetRandomLocation
public org.bukkit.Location GetRandomLocation(org.bukkit.entity.Player player, org.bukkit.WorldBorder wb)
-