Class NetworkPowerNode

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.sefiraat.networks.slimefun.network.NetworkObject
io.github.sefiraat.networks.slimefun.network.NetworkPowerNode
All Implemented Interfaces:
AdminDebuggable, io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

public class NetworkPowerNode extends NetworkObject implements io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetComponent
  • 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
    Constructor
    Description
    NetworkPowerNode(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, int capacity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    io.github.thebusybiscuit.slimefun4.core.networks.energy.EnergyNetComponentType
     

    Methods inherited from class io.github.sefiraat.networks.slimefun.network.NetworkObject

    addToRegistry, onBreak, preBreak, runSync

    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.EnergyNetComponent

    addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge

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

    getId

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

    useVanillaBlockBreaking
  • Constructor Details

    • NetworkPowerNode

      public NetworkPowerNode(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, int capacity)
  • Method Details

    • getEnergyComponentType

      @Nonnull public io.github.thebusybiscuit.slimefun4.core.networks.energy.EnergyNetComponentType getEnergyComponentType()
      Specified by:
      getEnergyComponentType in interface io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetComponent
    • getCapacity

      public int getCapacity()
      Specified by:
      getCapacity in interface io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetComponent