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

    Fields
    Modifier and Type
    Field
    Description
    static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
     
    static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
     
    static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
     
    static 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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    int
     
    io.github.thebusybiscuit.slimefun5.core.handlers.EntityInteractHandler
     
    int
     
    float
    getMaxItemCharge(org.bukkit.inventory.ItemStack item)
     
    setCharge(int value)
     
    setMaxCharge(int value)
     
    static void
    setup(Supreme plugin)
     

    Methods 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, warn

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute

    getId

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

    useVanillaBlockBreaking

    Methods 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

      public static void setup(Supreme plugin)
    • getCharge

      public int getCharge()
    • setCharge

      public final MobCollectorTools setCharge(int value)
    • getMaxCharge

      public int getMaxCharge()
    • setMaxCharge

      public final MobCollectorTools setMaxCharge(int value)
    • getItemHandler

      public io.github.thebusybiscuit.slimefun5.core.handlers.EntityInteractHandler getItemHandler()
    • getMaxItemCharge

      public float getMaxItemCharge(org.bukkit.inventory.ItemStack item)
      Specified by:
      getMaxItemCharge in interface io.github.thebusybiscuit.slimefun5.core.attributes.Rechargeable