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