Class MobCollectorTools
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
com.github.relativobr.supreme.tools.MobCollectorTools
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute,io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable,io.github.thebusybiscuit.slimefun5.core.attributes.Placeable,io.github.thebusybiscuit.slimefun5.core.attributes.Rechargeable
public class MobCollectorTools
extends io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
implements io.github.thebusybiscuit.slimefun5.core.attributes.Rechargeable, io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final org.bukkit.inventory.ItemStack[]static final org.bukkit.inventory.ItemStack[]static final org.bukkit.inventory.ItemStack[]Fields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionMobCollectorTools(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionintio.github.thebusybiscuit.slimefun5.core.handlers.EntityInteractHandlerintfloatgetMaxItemCharge(org.bukkit.inventory.ItemStack item) final MobCollectorToolssetCharge(int value) final MobCollectorToolssetMaxCharge(int value) static voidMethods inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, bakeTranslatedDisplay, callItemHandler, canUse, decorateBakedTemplate, equals, error, getAddon, getBlockTicker, getById, getByItem, getByItem, getDrops, getDrops, getGuideType, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, postRegister, preRegister, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreakingMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Rechargeable
addItemCharge, getItemCharge, removeItemCharge, setItemCharge
-
Field Details
-
MOB_COLLECTOR_I
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_COLLECTOR_I -
RECIPE_MOB_COLLECTOR_I
public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_COLLECTOR_I -
MOB_COLLECTOR_II
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_COLLECTOR_II -
RECIPE_MOB_COLLECTOR_II
public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_COLLECTOR_II -
MOB_COLLECTOR_III
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_COLLECTOR_III -
RECIPE_MOB_COLLECTOR_III
public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_COLLECTOR_III
-
-
Constructor Details
-
MobCollectorTools
public MobCollectorTools(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
setup
-
getCharge
public int getCharge() -
setCharge
-
getMaxCharge
public int getMaxCharge() -
setMaxCharge
-
getItemHandler
public io.github.thebusybiscuit.slimefun5.core.handlers.EntityInteractHandler getItemHandler() -
getMaxItemCharge
public float getMaxItemCharge(org.bukkit.inventory.ItemStack item) - Specified by:
getMaxItemChargein interfaceio.github.thebusybiscuit.slimefun5.core.attributes.Rechargeable
-