public interface BlockCarrier extends Carrier, Locatable
| Modifier and Type | Method and Description |
|---|---|
Inventory |
getInventory(Direction from)
Returns the Inventory owned by this Carrier and accessible from
the given direction.
|
Location<World> |
getLocation()
Returns the Location of the Block.
|
getInventoryLocation<World> getLocation()
getLocation in interface LocatableInventory getInventory(Direction from)
e.g. A Furnace accessed from Direction.DOWN will return its Fuel Slot
When no inventory is accessible a EmptyInventory is returned
from - The Direction