RebarLogisticBlock

A block which can have items removed or added via a logistics system.

Item addition/removal is managed by 'groups' of 'logistic slots'. Each group has a unique name and is either an input or output group.

Slots can be in multiple groups. For example, you could have a 'buffer' slot be in both an input and an output group, allowing items to be both inserted and removed.

To use this interface, all you need to do is call createLogisticGroup to create all the logistic groups you want in postInitialise.

Inheritors

Properties

Link copied to clipboard
abstract val block: Block

Automatically implemented when this interface is implemented by a io.github.pylonmc.rebar.block.RebarBlock

Functions

Link copied to clipboard
open fun createLogisticGroup(groupName: String, group: LogisticGroup)
open fun createLogisticGroup(groupName: String, slotType: LogisticGroupType, slots: List<LogisticSlot>)
open fun createLogisticGroup(groupName: String, slotType: LogisticGroupType, vararg slots: LogisticSlot)
open fun createLogisticGroup(groupName: String, slotType: LogisticGroupType, inventory: VirtualInventory)
Link copied to clipboard
open fun getLogisticGroup(groupName: String): LogisticGroup?
Link copied to clipboard
Link copied to clipboard