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
FieldsFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionCargoOutputNode(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChannelSelector(Block b, BlockMenu menu, int slotPrev, int slotCurrent, int slotNext) protected voidcreateBorder(BlockMenuPreset preset) This returns theItemHandlerthat will be added to thisSlimefunItem.intThis returns the selected channel for the givenBlock.booleanThis returns whether thisCargoNodehas item filtering capabilities.protected voidprotected voidprotected voidupdateBlockMenu(BlockMenu menu, Block b) Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem
preRegisterMethods 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, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:CargoNodeThis returns whether thisCargoNodehas item filtering capabilities.- Returns:
- Whether this
CargoNodecan filter items
-
onPlace
-
createBorder
-
updateBlockMenu
-
markDirty
-
getItemHandler
Description copied from class:SimpleSlimefunItemThis returns theItemHandlerthat will be added to thisSlimefunItem.- Specified by:
getItemHandlerin classSimpleSlimefunItem<BlockPlaceHandler>- Returns:
- The
ItemHandlerthat should be added to thisSlimefunItem
-
addChannelSelector
-
getSelectedChannel
Description copied from interface:CargoNodeThis returns the selected channel for the givenBlock.- Specified by:
getSelectedChannelin interfaceCargoNode- Parameters:
b- TheBlock- Returns:
- The channel which this
CargoNodeis currently on
-