Class PickaxeOfTheSeeker
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem<ItemUseHandler>
io.github.thebusybiscuit.slimefun4.implementation.items.tools.PickaxeOfTheSeeker
- All Implemented Interfaces:
DamageableItem
,ItemAttribute
,Placeable
public class PickaxeOfTheSeeker
extends SimpleSlimefunItem<ItemUseHandler>
implements DamageableItem
The
PickaxeOfTheSeeker
will make you face the nearest ore upon right clicking.- Author:
- TheBusyBiscuit
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
ConstructorDescriptionPickaxeOfTheSeeker
(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionThis returns theItemHandler
that will be added to thisSlimefunItem
.boolean
Implement this method to make the behaviour of this interface dependent on the state of your object.Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.SimpleSlimefunItem
preRegister
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, getOptionalById, getOptionalByItem, 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.thebusybiscuit.slimefun4.core.attributes.DamageableItem
damageItem, evaluateUnbreakingEnchantment
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
-
PickaxeOfTheSeeker
@ParametersAreNonnullByDefault public PickaxeOfTheSeeker(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe)
-
-
Method Details
-
getItemHandler
Description copied from class:SimpleSlimefunItem
This returns theItemHandler
that will be added to thisSlimefunItem
.- Specified by:
getItemHandler
in classSimpleSlimefunItem<ItemUseHandler>
- Returns:
- The
ItemHandler
that should be added to thisSlimefunItem
-
isDamageable
public boolean isDamageable()Description copied from interface:DamageableItem
Implement this method to make the behaviour of this interface dependent on the state of your object. You could add aConfig
option to toggle the behaviour for example.- Specified by:
isDamageable
in interfaceDamageableItem
- Returns:
- Whether this
SlimefunItem
is damageable
-