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