Class MobTechCollector

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.MachineProcessHolder<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation>, io.github.thebusybiscuit.slimefun5.core.attributes.NotHopperable, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem, me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

public class MobTechCollector extends SimpleItemWithLargeContainerMachine
  • 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 com.github.relativobr.supreme.generic.machine.GenericMachine

    machineRecipes

    Fields inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer

    recipes

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

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

    Constructors
    Constructor
    Description
    MobTechCollector(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, 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
    void
     
    protected me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe
    findNextRecipe(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv)
     
    List<org.bukkit.inventory.ItemStack>
     
     
    org.bukkit.inventory.ItemStack
     
    getRecipeSectionLabel(org.bukkit.entity.Player p)
     
    void
     
    protected void
     
    setMobRange(int value)
     

    Methods inherited from class com.github.relativobr.supreme.generic.machine.SimpleItemWithLargeContainerMachine

    getBorderSlots, getInputBorderSlots, getInputSlots, getOutputBorderSlots, getOutputSlots, getStatusSlot

    Methods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer

    getCapacity, getEnergyComponentType, getEnergyConsumption, getInventoryTitle, getMachineProcessor, getMachineRecipes, getSpeed, register, registerRecipe, registerRecipe, registerRecipe, registerRecipe, registerRecipe, setCapacity, setEnergyConsumption, setProcessingSpeed, takeCharge

    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, 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.EnergyNetComponent

    addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge

    Methods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

    createPreset, createPreset

    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.RecipeDisplayItem

    getLabelLocalPath
  • Field Details

    • MOB_TECH_COLLECTOR_MACHINE_I

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_TECH_COLLECTOR_MACHINE_I
    • RECIPE_MOB_TECH_COLLECTOR_MACHINE_I

      public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_TECH_COLLECTOR_MACHINE_I
    • MOB_TECH_COLLECTOR_MACHINE_II

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_TECH_COLLECTOR_MACHINE_II
    • RECIPE_MOB_TECH_COLLECTOR_MACHINE_II

      public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_TECH_COLLECTOR_MACHINE_II
    • MOB_TECH_COLLECTOR_MACHINE_III

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack MOB_TECH_COLLECTOR_MACHINE_III
    • RECIPE_MOB_TECH_COLLECTOR_MACHINE_III

      public static final org.bukkit.inventory.ItemStack[] RECIPE_MOB_TECH_COLLECTOR_MACHINE_III
  • Constructor Details

    • MobTechCollector

      @ParametersAreNonnullByDefault public MobTechCollector(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • registerDefaultRecipes

      protected void registerDefaultRecipes()
      Overrides:
      registerDefaultRecipes in class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
    • addProduce

      public void addProduce(@Nonnull MobTechCollectorMachineRecipe produce)
    • preRegister

      public void preRegister()
      Overrides:
      preRegister in class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
    • getDisplayRecipes

      @Nonnull public List<org.bukkit.inventory.ItemStack> getDisplayRecipes()
      Specified by:
      getDisplayRecipes in interface io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
      Overrides:
      getDisplayRecipes in class SimpleItemWithLargeContainerMachine
    • getRecipeSectionLabel

      @Nonnull public String getRecipeSectionLabel(@Nonnull org.bukkit.entity.Player p)
    • findNextRecipe

      protected me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.MachineRecipe findNextRecipe(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv)
      Overrides:
      findNextRecipe in class GenericMachine
    • getMachineIdentifier

      @Nonnull public String getMachineIdentifier()
      Overrides:
      getMachineIdentifier in class GenericMachine
    • getProgressBar

      public org.bukkit.inventory.ItemStack getProgressBar()
      Overrides:
      getProgressBar in class GenericMachine
    • setMobRange

      public final MobTechCollector setMobRange(int value)