Uses of Class
com.palmergames.bukkit.towny.object.metadata.LocationDataField
-
Uses of LocationDataField in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
MetaDataUtil.addNewMeta
(TownyObject townyObject, LocationDataField ldf, boolean save) Adds a new LocationDataField MetaData to a TownyObject, overriding any existing MetaData with the same key.static @Nullable org.bukkit.Location
MetaDataUtil.getLocation
(TownyObject townyObject, LocationDataField ldf) Get a Location from a TownyObject's metadata.static boolean
MetaDataUtil.hasMeta
(TownyObject townyObject, LocationDataField ldf) Does the TownyObject have the LocationDataField meta?static void
MetaDataUtil.setLocation
(TownyObject townyObject, LocationDataField ldf, org.bukkit.Location loc, boolean save) Sets a LocationDataField metadata on a TownyObject, creating the metadata if it doesn't exist.