Package de.eimmer.inventar
Interface AbstraktesPferdeInventar
- All Superinterfaces:
Inventar
,Iterable<GegenstandsStapel>
- All Known Subinterfaces:
LamaInventar
,PferdeInventar
An interface to the inventar of an
AbstraktesPferd
.-
Method Summary
Modifier and TypeMethodDescriptionGets the item in the horse's saddle slot.void
setSaddle
(GegenstandsStapel stack) Sets the item in the horse's saddle slot.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
-
getSaddle
Gets the item in the horse's saddle slot.- Returns:
- the saddle item
-
setSaddle
Sets the item in the horse's saddle slot.- Parameters:
stack
- the new item
-