Interface CargoNode
- 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 TypeMethodDescriptionintgetSelectedChannel(org.bukkit.block.Block b) This returns the selected channel for the givenBlock.booleanThis returns whether thisCargoNodehas item filtering capabilities.
-
Method Details
-
getSelectedChannel
int getSelectedChannel(@Nonnull org.bukkit.block.Block b) This returns the selected channel for the givenBlock.- Parameters:
b- TheBlock- Returns:
- The channel which this
CargoNodeis currently on
-
hasItemFilter
boolean hasItemFilter()This returns whether thisCargoNodehas item filtering capabilities.- Returns:
- Whether this
CargoNodecan filter items
-