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