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