Package de.themoep.ShowItem.api.data
Class LiveInvData
java.lang.Object
de.themoep.ShowItem.api.data.LiveInvData
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStack
getBoots()
org.bukkit.inventory.ItemStack
org.bukkit.inventory.ItemStack
org.bukkit.inventory.ItemStack
org.bukkit.inventory.ItemStack
org.bukkit.inventory.ItemStack[]
Get the UUIDs of the players viewing this databoolean
isValid()
Checks whether or not this data is valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.themoep.ShowItem.api.data.InvData
getGuiSetup, getType
-
Constructor Details
-
LiveInvData
public LiveInvData(org.bukkit.entity.Player player)
-
-
Method Details
-
getPlayerId
- Specified by:
getPlayerId
in interfaceData
-
getPlayerName
- Specified by:
getPlayerName
in interfaceData
-
getHelmet
public org.bukkit.inventory.ItemStack getHelmet() -
getChestplate
public org.bukkit.inventory.ItemStack getChestplate()- Specified by:
getChestplate
in interfaceInvData
-
getLeggings
public org.bukkit.inventory.ItemStack getLeggings()- Specified by:
getLeggings
in interfaceInvData
-
getBoots
public org.bukkit.inventory.ItemStack getBoots() -
getItemInOffHand
public org.bukkit.inventory.ItemStack getItemInOffHand()- Specified by:
getItemInOffHand
in interfaceInvData
-
getStorageContents
public org.bukkit.inventory.ItemStack[] getStorageContents()- Specified by:
getStorageContents
in interfaceData
-
isValid
public boolean isValid()Checks whether or not this data is valid. Live data is valid as long as the player it references can be found. -
getViewers
Get the UUIDs of the players viewing this data- Specified by:
getViewers
in interfaceLiveData
- Returns:
- A set with the UUIDs of the viewers
-