Class CargoInputNode
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.CargoInputNode
- 
Field SummaryFieldsFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemaddon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
- 
Constructor SummaryConstructorsConstructorDescriptionCargoInputNode(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddChannelSelector(Block b, BlockMenu menu, int slotPrev, int slotCurrent, int slotNext) protected voidcreateBorder(BlockMenuPreset preset) protected int[]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.SimpleSlimefunItempreRegisterMethods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemaddItemHandler, 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.PlaceableuseVanillaBlockBreaking
- 
Field Details- 
SLOTSprotected static final int[] SLOTS
- 
FREQUENCY- See Also:
 
 
- 
- 
Constructor Details- 
CargoInputNode@ParametersAreNonnullByDefault public CargoInputNode(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) 
 
- 
- 
Method Details- 
getBorderprotected int[] getBorder()
- 
onPlace
- 
updateBlockMenu
- 
hasItemFilterpublic boolean hasItemFilter()Description copied from interface:CargoNodeThis returns whether thisCargoNodehas item filtering capabilities.- Returns:
- Whether this CargoNodecan filter items
 
- 
createBorder
- 
markDirty
- 
getItemHandlerDescription copied from class:SimpleSlimefunItemThis returns theItemHandlerthat will be added to thisSlimefunItem.- Specified by:
- getItemHandlerin class- SimpleSlimefunItem<BlockPlaceHandler>
- Returns:
- The ItemHandlerthat should be added to thisSlimefunItem
 
- 
addChannelSelector
- 
getSelectedChannelDescription copied from interface:CargoNodeThis returns the selected channel for the givenBlock.- Specified by:
- getSelectedChannelin interface- CargoNode
- Parameters:
- b- The- Block
- Returns:
- The channel which this CargoNodeis currently on
 
 
-