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

public abstract class NetworkDirectional extends NetworkObject
  • Field Details

  • Constructor Details

    • NetworkDirectional

      protected NetworkDirectional(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 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:
      postRegister in class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
    • directionClick

      @ParametersAreNonnullByDefault public boolean directionClick(Player player, me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ClickAction action, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace)
    • openDirection

      @ParametersAreNonnullByDefault public void openDirection(Player player, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlockFace blockFace)
    • 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

      @Nonnull public static ItemStack getDirectionalSlotPane(@Nonnull BlockFace blockFace, @Nonnull io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem slimefunItem, boolean active)
    • getDirectionalSlotPane

      @Nonnull public static ItemStack getDirectionalSlotPane(@Nonnull BlockFace blockFace, @Nonnull Material blockMaterial, boolean active)
    • getSelectedFace

      @Nullable public static BlockFace getSelectedFace(@Nonnull Location location)
    • getDustOptions

      protected Particle.DustOptions getDustOptions()
    • showParticle

      protected void showParticle(@Nonnull Location location, @Nonnull BlockFace blockFace)