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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intprotected static final Map<io.github.thebusybiscuit.slimefun5.libraries.dough.blocks.BlockPosition, UUID> static 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 intstatic final intstatic 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
fuelTypesFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorMob(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionintintintgetGeneratedOutput(org.bukkit.Location l, me.mrCookieSlime.CSCoreLibPlugin.Configuration.Config config) int[]int[]org.bukkit.inventory.ItemStackprotected voidfinal GeneratorMobsetBuffer(int value) final GeneratorMobsetEnergy(int value) final GeneratorMobsetMobRange(int value) Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
getDisplayRecipes, getEnergyComponentType, getFuelTypes, getInventoryTitle, getLabelLocalPath, registerFuelMethods 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.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetProvider
willExplodeMethods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
createPreset, createPresetMethods 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.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
-
-
Constructor Details
-
GeneratorMob
public GeneratorMob(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
setEnergy
-
setBuffer
-
setMobRange
-
getProgressBar
@Nonnull public org.bukkit.inventory.ItemStack getProgressBar()- Specified by:
getProgressBarin classio.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
-
getEnergyProduction
public int getEnergyProduction()- Specified by:
getEnergyProductionin classio.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
-
registerDefaultFuelTypes
protected void registerDefaultFuelTypes()- Specified by:
registerDefaultFuelTypesin classio.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()
-