Class CargoOutputNode
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<BlockPlaceHandler>
io.github.thebusybiscuit.slimefun4.implementation.items.cargo.CargoOutputNode
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
ConstructorDescriptionCargoOutputNode
(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addChannelSelector
(Block b, BlockMenu menu, int slotPrev, int slotCurrent, int slotNext) protected void
createBorder
(BlockMenuPreset preset) This returns theItemHandler
that will be added to thisSlimefunItem
.int
This returns the selected channel for the givenBlock
.boolean
This returns whether thisCargoNode
has item filtering capabilities.protected void
protected void
protected void
updateBlockMenu
(BlockMenu menu, Block b) Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem
preRegister
Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, callItemHandler, canUse, equals, error, getAddon, getBlockTicker, getById, getByItem, getDrops, getDrops, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, postRegister, register, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warn
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreaking
-
Field Details
-
FREQUENCY
- See Also:
-
-
Constructor Details
-
CargoOutputNode
@ParametersAreNonnullByDefault public CargoOutputNode(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput)
-
-
Method Details
-
hasItemFilter
public boolean hasItemFilter()Description copied from interface:CargoNode
This returns whether thisCargoNode
has item filtering capabilities.- Returns:
- Whether this
CargoNode
can filter items
-
onPlace
-
createBorder
-
updateBlockMenu
-
markDirty
-
getItemHandler
Description copied from class:SimpleSlimefunItem
This returns theItemHandler
that will be added to thisSlimefunItem
.- Specified by:
getItemHandler
in classSimpleSlimefunItem<BlockPlaceHandler>
- Returns:
- The
ItemHandler
that should be added to thisSlimefunItem
-
addChannelSelector
-
getSelectedChannel
Description copied from interface:CargoNode
This returns the selected channel for the givenBlock
.- Specified by:
getSelectedChannel
in interfaceCargoNode
- Parameters:
b
- TheBlock
- Returns:
- The channel which this
CargoNode
is currently on
-