Class NetworkRake

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler>
io.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem
io.github.sefiraat.networks.slimefun.tools.NetworkRake
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

public class NetworkRake extends io.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem
  • Field Summary

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

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

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

    Modifier and Type
    Method
    Description
    io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler
    This returns the ItemHandler that will be added to this SlimefunItem.
    protected NamespacedKey
     
    protected void
    onUse(io.github.thebusybiscuit.slimefun4.api.events.PlayerRightClickEvent e)
     
    void
     

    Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem

    damageItem, getMaxUseCount, register, setMaxUseCount

    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, 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.thebusybiscuit.slimefun4.core.attributes.Placeable

    useVanillaBlockBreaking
  • Constructor Details

    • NetworkRake

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

    • preRegister

      public void preRegister()
      Overrides:
      preRegister in class io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler>
    • getItemHandler

      @Nonnull public io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler getItemHandler()
      This returns the ItemHandler that will be added to this SlimefunItem.
      Specified by:
      getItemHandler in class io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler>
      Returns:
      The ItemHandler that should be added to this SlimefunItem
    • onUse

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

      @Nonnull protected NamespacedKey getStorageKey()
      Overrides:
      getStorageKey in class io.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem