Class NetworkDirectional
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.sefiraat.networks.slimefun.network.NetworkObject
io.github.sefiraat.networks.slimefun.network.NetworkDirectional
- All Implemented Interfaces:
AdminDebuggable,io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
- Direct Known Subclasses:
NetworkControlV,NetworkControlX,NetworkGrabber,NetworkMonitor,NetworkPowerOutlet,NetworkPusher,NetworkVanillaGrabber,NetworkVanillaPusher
-
Field Summary
FieldsFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbenchFields inherited from interface io.github.sefiraat.networks.slimefun.network.AdminDebuggable
DEBUG_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkDirectional(io.github.thebusybiscuit.slimefun4.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType recipeType, ItemStack[] recipe, NodeType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleandirectionClick(Player player, me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ClickAction action, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace) protected int[]protected BlockFacegetCurrentDirection(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) static ItemStackgetDirectionalSlotPane(BlockFace blockFace, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem slimefunItem, boolean active) static ItemStackgetDirectionalSlotPane(BlockFace blockFace, Material blockMaterial, boolean active) intprotected Particle.DustOptionsintint[]int[]intprotected int[]protected io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStackint[]static BlockFacegetSelectedFace(Location location) intintintprotected voidvoidopenDirection(Player player, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace) voidvoidsetDirection(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace) protected voidshowParticle(Location location, BlockFace blockFace) Methods inherited from class io.github.sefiraat.networks.slimefun.network.NetworkObject
addToRegistry, onBreak, preBreak, runSyncMethods 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, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, preRegister, 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.sefiraat.networks.slimefun.network.AdminDebuggable
isDebug, sendDebugMessage, setDebug, toggleMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreaking
-
Field Details
-
DIRECTION
- See Also:
-
OWNER_KEY
- See Also:
-
-
Constructor Details
-
NetworkDirectional
-
-
Method Details
-
getCurrentDirection
@Nonnull protected BlockFace getCurrentDirection(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) -
onTick
@OverridingMethodsMustInvokeSuper protected void onTick(@Nullable me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, @Nonnull Block block) -
postRegister
public void postRegister()- Overrides:
postRegisterin classio.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
-
directionClick
-
openDirection
-
setDirection
@ParametersAreNonnullByDefault public void setDirection(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace) -
getBackgroundSlots
@Nonnull protected int[] getBackgroundSlots() -
getOtherBackgroundSlots
@Nullable protected int[] getOtherBackgroundSlots() -
getOtherBackgroundStack
@Nullable protected io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack getOtherBackgroundStack() -
getNorthSlot
public int getNorthSlot() -
getSouthSlot
public int getSouthSlot() -
getEastSlot
public int getEastSlot() -
getWestSlot
public int getWestSlot() -
getUpSlot
public int getUpSlot() -
getDownSlot
public int getDownSlot() -
getItemSlots
public int[] getItemSlots() -
getInputSlots
public int[] getInputSlots() -
getOutputSlots
public int[] getOutputSlots() -
getDirectionalSlotPane
-
getDirectionalSlotPane
-
getSelectedFace
-
getDustOptions
-
showParticle
-