Class PlayerItemInfo

java.lang.Object
org.screamingsandals.simpleinventories.inventory.PlayerItemInfo

public class PlayerItemInfo extends Object
  • Constructor Details

    • PlayerItemInfo

      public PlayerItemInfo(org.screamingsandals.lib.player.PlayerWrapper player, GenericItemInfo original)
  • Method Details

    • getId

      public String getId()
    • getPosition

      public int getPosition()
    • getProperties

      public List<Property> getProperties()
    • hasId

      public boolean hasId()
    • hasProperties

      public boolean hasProperties()
    • hasAnimation

      public boolean hasAnimation()
    • hasChildInventory

      public boolean hasChildInventory()
    • getChildInventory

      public SubInventory getChildInventory()
    • getFormat

      public InventorySet getFormat()
    • getParent

      public SubInventory getParent()
    • getPropertiesByName

      public Stream<Property> getPropertiesByName(String name)
    • getFirstPropertyByName

      public Optional<Property> getFirstPropertyByName(String name)
    • getOriginal

      public GenericItemInfo getOriginal()
    • getStack

      public org.screamingsandals.lib.item.Item getStack()
    • isVisible

      public boolean isVisible()
    • isDisabled

      public boolean isDisabled()
    • getAnimation

      public List<org.screamingsandals.lib.item.Item> getAnimation()
    • setOriginal

      public void setOriginal(GenericItemInfo original)
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPlayer

      public org.screamingsandals.lib.player.PlayerWrapper getPlayer()