Package de.eimmer.inventar
Interface LeuchtfeuerInventar
- All Superinterfaces:
Inventar
,Iterable<GegenstandsStapel>
Interface to the inventar of a Beacon.
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
Get the item powering the beacon.void
setItem
(GegenstandsStapel item) Set the item powering the beacon.Methods inherited from interface de.eimmer.inventar.Inventar
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
setItem
Set the item powering the beacon.- Parameters:
item
- The new item
-
getItem
Get the item powering the beacon.- Returns:
- The current item.
-