Interface BlockCarrier

    • Method Detail

      • inventory

        Inventory inventory​(Direction from)
        Returns the Inventory owned by this Carrier and accessible from the given direction.

        e.g. A Furnace accessed from Direction.DOWN will return its Fuel Slot

        When no inventory is accessible a EmptyInventory is returned

        Parameters:
        from - The Direction
        Returns:
        The inventory at the location when accessed from given direction