Class PlayerItemInfo
java.lang.Object
org.screamingsandals.simpleinventories.inventory.PlayerItemInfo
-
Constructor Summary
ConstructorDescriptionPlayerItemInfo
(org.screamingsandals.lib.player.PlayerWrapper player, GenericItemInfo original) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
List<org.screamingsandals.lib.item.Item>
getFirstPropertyByName
(String name) getId()
org.screamingsandals.lib.player.PlayerWrapper
int
getPropertiesByName
(String name) org.screamingsandals.lib.item.Item
getStack()
boolean
boolean
int
hashCode()
boolean
hasId()
boolean
boolean
boolean
void
setDisabled
(boolean disabled) void
setOriginal
(GenericItemInfo original) void
setPlayer
(org.screamingsandals.lib.player.PlayerWrapper player) void
setStack
(org.screamingsandals.lib.item.Item stack) void
setVisible
(boolean visible) toString()
-
Constructor Details
-
PlayerItemInfo
public PlayerItemInfo(org.screamingsandals.lib.player.PlayerWrapper player, GenericItemInfo original)
-
-
Method Details
-
getId
-
getPosition
public int getPosition() -
getProperties
-
hasId
public boolean hasId() -
hasProperties
public boolean hasProperties() -
hasAnimation
public boolean hasAnimation() -
hasChildInventory
public boolean hasChildInventory() -
getChildInventory
-
getFormat
-
getParent
-
getPropertiesByName
-
getFirstPropertyByName
-
getOriginal
-
getStack
public org.screamingsandals.lib.item.Item getStack() -
isVisible
public boolean isVisible() -
isDisabled
public boolean isDisabled() -
getAnimation
-
setOriginal
-
setStack
public void setStack(org.screamingsandals.lib.item.Item stack) -
setVisible
public void setVisible(boolean visible) -
setDisabled
public void setDisabled(boolean disabled) -
setPlayer
public void setPlayer(org.screamingsandals.lib.player.PlayerWrapper player) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getPlayer
public org.screamingsandals.lib.player.PlayerWrapper getPlayer()
-