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 TypeMethodDescriptionint
getSelectedChannel
(org.bukkit.block.Block b) This returns the selected channel for the givenBlock
.boolean
This returns whether thisCargoNode
has 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
CargoNode
is currently on
-
hasItemFilter
boolean hasItemFilter()This returns whether thisCargoNode
has item filtering capabilities.- Returns:
- Whether this
CargoNode
can filter items
-