Interface RebarCargoBlock

  • All Implemented Interfaces:
    io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock , io.github.pylonmc.rebar.block.base.RebarLogisticBlock

    
    public interface RebarCargoBlock
     implements RebarLogisticBlock, RebarEntityHolderBlock
                        

    Represents a block that can connect to cargo ducts and use them to interface with other cargo RebarCargoBlocks.

    Each face can have one logistic group which cargo ducts connected to that face are allowed to interface with

    In your place constructor, you will need to call addCargoLogisticGroup for all the block faces you want to be able to connect cargo ducts to, and also setCargoTransferRate to set the maximum number of items that can be transferred out of this block per cargo tick.