Class PublicChestSlot
java.lang.Object
marauroa.common.game.RPSlot
games.stendhal.server.entity.slot.EntitySlot
games.stendhal.server.entity.slot.LootableSlot
games.stendhal.server.entity.slot.ChestSlot
games.stendhal.server.entity.slot.PublicChestSlot
- All Implemented Interfaces:
Slot
,Cloneable
,Iterable<RPObject>
,Serializable
A slot of a chest which is only accessible, if the chest is open.
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
does this slot require that the bounding of items is check on adding itemsMethods inherited from class games.stendhal.server.entity.slot.ChestSlot
isReachableForTakingThingsOutOfBy
Methods inherited from class games.stendhal.server.entity.slot.EntitySlot
clearErrorMessage, getContentSlotName, getErrorMessage, getSlotType, isItemSlot, isReachableForThrowingThingsIntoBy, setErrorMessage
Methods inherited from class marauroa.common.game.RPSlot
add, add, addPreservingId, clear, clearVisible, clone, equals, get, getCapacity, getFirst, getName, getOwner, has, hasAsAncestor, hasAsAncestor, hashCode, isEmpty, isFull, iterator, readObject, remove, resetAddedAndDeletedRPObjects, setAddedRPObject, setCapacity, setDeletedRPObject, setName, size, toString, writeObject, writeObject, writeToJson
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PublicChestSlot
creates a new PublicChestSlot- Parameters:
owner
- the chest owning this slot
-
-
Method Details
-
isTargetBoundCheckRequired
public boolean isTargetBoundCheckRequired()Description copied from interface:Slot
does this slot require that the bounding of items is check on adding items- Specified by:
isTargetBoundCheckRequired
in interfaceSlot
- Overrides:
isTargetBoundCheckRequired
in classEntitySlot
- Returns:
- true, if bound items have to be checked, false otherwise
-