Interface Slot

All Known Implementing Classes:
BankSlot, ChestSlot, ContainerItemSlot, EntitySlot, GroundSlot, KeyedSlot, LootableSlot, PersonalChestSlot, PlayerKeyringSlot, PlayerMoneyPouchSlot, PlayerPortfolioSlot, PlayerSlot, PlayerTradeSlot, PublicChestSlot, TradeCenterMarketSlot

public interface Slot
A slot which can contain items.
Author:
hendrik
  • Method Details

    • isReachableForTakingThingsOutOfBy

      boolean isReachableForTakingThingsOutOfBy(Entity entity)
      Is this slot reachable to take things out of?
      Parameters:
      entity - Entity which may be able to reach this slot
      Returns:
      true, if it is reachable, false otherwise
    • isReachableForThrowingThingsIntoBy

      boolean isReachableForThrowingThingsIntoBy(Entity entity)
      Is this slot reachable to put things into?
      Parameters:
      entity - Entity which may be able to reach this slot
      Returns:
      true, if it is reachable, false otherwise
    • isItemSlot

      boolean isItemSlot()
      Can this slot contain items?
      Returns:
      true, if it can contains items, false otherwise
    • isTargetBoundCheckRequired

      boolean isTargetBoundCheckRequired()
      does this slot require that the bounding of items is check on adding items
      Returns:
      true, if bound items have to be checked, false otherwise