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
ConstructorsConstructorDescriptionNetworkRake(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 TypeMethodDescriptionio.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandlerThis returns theItemHandlerthat will be added to thisSlimefunItem.protected NamespacedKeyprotected voidonUse(io.github.thebusybiscuit.slimefun4.api.events.PlayerRightClickEvent e) voidMethods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem
damageItem, getMaxUseCount, register, setMaxUseCountMethods 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, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
preRegisterin classio.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 theItemHandlerthat will be added to thisSlimefunItem.- Specified by:
getItemHandlerin classio.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler>- Returns:
- The
ItemHandlerthat should be added to thisSlimefunItem
-
onUse
protected void onUse(io.github.thebusybiscuit.slimefun4.api.events.PlayerRightClickEvent e) -
getStorageKey
- Overrides:
getStorageKeyin classio.github.thebusybiscuit.slimefun4.implementation.items.LimitedUseItem
-