Class NetworkObject

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.sefiraat.networks.slimefun.network.NetworkObject
All Implemented Interfaces:
AdminDebuggable, io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
Direct Known Subclasses:
AbstractGrid, NetworkAutoCrafter, NetworkBridge, NetworkCell, NetworkController, NetworkDirectional, NetworkEncoder, NetworkExport, NetworkGreedyBlock, NetworkImport, NetworkPowerDisplay, NetworkPowerNode, NetworkPurger, NetworkVacuum, NetworkWirelessReceiver, NetworkWirelessTransmitter

public abstract class NetworkObject extends io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem implements AdminDebuggable
  • Field Summary

    Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench

    Fields inherited from interface io.github.sefiraat.networks.slimefun.network.AdminDebuggable

    DEBUG_KEY
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    NetworkObject(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)
     
    protected
    NetworkObject(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, ItemStack recipeOutput, NodeType type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected void
     
    boolean
     

    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, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, postRegister, preRegister, 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.sefiraat.networks.slimefun.network.AdminDebuggable

    isDebug, sendDebugMessage, setDebug, toggle

    Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

    useVanillaBlockBreaking
  • Constructor Details

    • NetworkObject

      protected NetworkObject(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)
    • NetworkObject

      protected NetworkObject(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, ItemStack recipeOutput, NodeType type)
  • Method Details

    • addToRegistry

      protected void addToRegistry(@Nonnull Block block)
    • preBreak

      protected void preBreak(@Nonnull BlockBreakEvent event)
    • onBreak

      protected void onBreak(@Nonnull BlockBreakEvent event)
    • runSync

      public boolean runSync()