All Known Implementing Classes:
AdvancedCargoOutputNode, CargoInputNode, CargoOutputNode

public interface CargoNode
This interface marks a SlimefunItem as a CargoNode.

Do not implement this interface yourself, it will not have any effect.

Author:
TheBusyBiscuit
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This returns the selected channel for the given Block.
    boolean
    This returns whether this CargoNode has item filtering capabilities.
  • Method Details

    • getSelectedChannel

      int getSelectedChannel(@Nonnull Block b)
      This returns the selected channel for the given Block.
      Parameters:
      b - The Block
      Returns:
      The channel which this CargoNode is currently on
    • hasItemFilter

      boolean hasItemFilter()
      This returns whether this CargoNode has item filtering capabilities.
      Returns:
      Whether this CargoNode can filter items