Uses of Enum Class
net.glowstone.entity.meta.MetadataIndex
-
Uses of MetadataIndex in net.glowstone.entity.meta
Modifier and TypeMethodDescriptionstatic MetadataIndex
MetadataIndex.getIndex(int index, MetadataType type)
Returns the firstMetadataIndex
with a given index andMetadataType
.static MetadataIndex
Returns the enum constant of this class with the specified name.static MetadataIndex[]
MetadataIndex.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
MetadataMap.containsKey(MetadataIndex index)
MetadataMap.get(MetadataIndex index)
boolean
MetadataMap.getBit(MetadataIndex index, int bit)
Tests for the given bit mask in a bit field.boolean
MetadataMap.getBoolean(MetadataIndex index)
byte
MetadataMap.getByte(MetadataIndex index)
MetadataMap.getChat(MetadataIndex index)
float
MetadataMap.getFloat(MetadataIndex index)
int
MetadataMap.getInt(MetadataIndex index)
org.bukkit.inventory.ItemStack
MetadataMap.getItem(MetadataIndex index)
MetadataMap.getNumber(MetadataIndex index)
Returns the numeric value of a metadata field.MetadataMap.getOptChat(MetadataIndex index)
Gets the optional chat value for the given MetadataIndex.org.bukkit.util.BlockVector
MetadataMap.getOptPosition(MetadataIndex index)
Gets the optional position value for the given MetadataIndex.MetadataMap.getString(MetadataIndex index)
void
MetadataMap.set(MetadataIndex index, Object value)
Sets the value of a metadata field.void
MetadataMap.set(MetadataIndex index, Object value, boolean force)
Sets the value of a metadata field.void
MetadataMap.setBit(MetadataIndex index, int bit, boolean status)
Sets or clears bits in a bit field.