Class GeneratorMob

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
com.github.relativobr.supreme.generators.GeneratorMob
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetProvider, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem, me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

public class GeneratorMob extends io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    protected static final Map<io.github.thebusybiscuit.slimefun5.libraries.dough.blocks.BlockPosition,UUID>
     
    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 int
     
    static final int
     
    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.implementation.items.electric.AbstractEnergyProvider

    fuelTypes

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

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

    Constructors
    Constructor
    Description
    GeneratorMob(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
    getGeneratedOutput(org.bukkit.Location l, me.mrCookieSlime.CSCoreLibPlugin.Configuration.Config config)
     
    int[]
     
    int[]
     
    org.bukkit.inventory.ItemStack
     
    protected void
     
    setBuffer(int value)
     
    setEnergy(int value)
     
    setMobRange(int value)
     

    Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider

    getDisplayRecipes, getEnergyComponentType, getFuelTypes, getInventoryTitle, getLabelLocalPath, registerFuel

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

    addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge

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

    willExplode

    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

    getRecipeSectionLabel
  • Field Details

    • BASIC_GENERATOR_MOB_ENERGY

      public static final int BASIC_GENERATOR_MOB_ENERGY
      See Also:
    • BASIC_GENERATOR_MOB_BUFFER

      public static final int BASIC_GENERATOR_MOB_BUFFER
      See Also:
    • MEDIUM_GENERATOR_MOB_ENERGY

      public static final int MEDIUM_GENERATOR_MOB_ENERGY
      See Also:
    • MEDIUM_GENERATOR_MOB_BUFFER

      public static final int MEDIUM_GENERATOR_MOB_BUFFER
      See Also:
    • ADVANCED_GENERATOR_MOB_ENERGY

      public static final int ADVANCED_GENERATOR_MOB_ENERGY
      See Also:
    • ADVANCED_GENERATOR_MOB_BUFFER

      public static final int ADVANCED_GENERATOR_MOB_BUFFER
      See Also:
    • GENERATOR_MOB_BASIC

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack GENERATOR_MOB_BASIC
    • RECIPE_GENERATOR_MOB_BASIC

      public static final org.bukkit.inventory.ItemStack[] RECIPE_GENERATOR_MOB_BASIC
    • GENERATOR_MOB_MEDIUM

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack GENERATOR_MOB_MEDIUM
    • RECIPE_GENERATOR_MOB_MEDIUM

      public static final org.bukkit.inventory.ItemStack[] RECIPE_GENERATOR_MOB_MEDIUM
    • GENERATOR_MOB_ADVANCED

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack GENERATOR_MOB_ADVANCED
    • RECIPE_GENERATOR_MOB_ADVANCED

      public static final org.bukkit.inventory.ItemStack[] RECIPE_GENERATOR_MOB_ADVANCED
    • cachedMob

      protected static final Map<io.github.thebusybiscuit.slimefun5.libraries.dough.blocks.BlockPosition,UUID> cachedMob
  • Constructor Details

    • GeneratorMob

      public GeneratorMob(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • setEnergy

      public final GeneratorMob setEnergy(int value)
    • setBuffer

      public final GeneratorMob setBuffer(int value)
    • setMobRange

      public final GeneratorMob setMobRange(int value)
    • getProgressBar

      @Nonnull public org.bukkit.inventory.ItemStack getProgressBar()
      Specified by:
      getProgressBar in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • getEnergyProduction

      public int getEnergyProduction()
      Specified by:
      getEnergyProduction in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • registerDefaultFuelTypes

      protected void registerDefaultFuelTypes()
      Specified by:
      registerDefaultFuelTypes in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • getGeneratedOutput

      @ParametersAreNonnullByDefault public int getGeneratedOutput(org.bukkit.Location l, me.mrCookieSlime.CSCoreLibPlugin.Configuration.Config config)
    • getCapacity

      public int getCapacity()
    • getInputSlots

      public int[] getInputSlots()
    • getOutputSlots

      public int[] getOutputSlots()