Interface KeyLocked

All Known Implementing Classes:
ManaPoolBlockEntity, ManaSpreaderBlockEntity

public interface KeyLocked
A TileEntity that implements this interface has an IO key lock. This interface defines an input and output key.

A Spreader can only shoot mana into a KeyLocked interfaced block entity if the Input key of the block entity is equal to the Output key of the Spreader.

A Spreader can only pull mana from a KeyLocked interfaced ManaPool block entity if the Output key of the ManaPool is equal to the Input key of the Spreader.
  • Method Details

    • getInputKey

      String getInputKey()
    • getOutputKey

      String getOutputKey()