Class NetworkProbe

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.sefiraat.networks.slimefun.tools.NetworkProbe
All Implemented Interfaces:
CanCooldown, io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

public class NetworkProbe extends io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem implements CanCooldown
  • Field Summary

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

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
  • Constructor Summary

    Constructors
    Constructor
    Description
    NetworkProbe(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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The duration, in seconds, this item will go on cooldown for
    protected void
    onUse(io.github.thebusybiscuit.slimefun4.api.events.PlayerRightClickEvent e)
     
    void
     

    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, 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.tools.CanCooldown

    canBeUsed, canBeUsed, putOnCooldown

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

    useVanillaBlockBreaking
  • Constructor Details

    • NetworkProbe

      public NetworkProbe(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)
  • Method Details

    • preRegister

      public void preRegister()
      Overrides:
      preRegister in class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
    • onUse

      protected void onUse(io.github.thebusybiscuit.slimefun4.api.events.PlayerRightClickEvent e)
    • cooldownDuration

      public int cooldownDuration()
      Description copied from interface: CanCooldown
      The duration, in seconds, this item will go on cooldown for
      Specified by:
      cooldownDuration in interface CanCooldown
      Returns:
      The cooldown duration in seconds