Class TechGenerator
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
com.github.relativobr.supreme.generic.machine.GenericMachine
com.github.relativobr.supreme.generic.machine.SimpleItemContainerMachine
com.github.relativobr.supreme.machine.tech.TechGenerator
- 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.Radioactive,io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem,me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
public class TechGenerator
extends SimpleItemContainerMachine
implements io.github.thebusybiscuit.slimefun5.core.attributes.Radioactive
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<AbstractItemRecipe> static final org.bukkit.inventory.ItemStack[]static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackFields inherited from class com.github.relativobr.supreme.generic.machine.GenericMachine
machineRecipesFields inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
recipesFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionTechGenerator(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddRecipesToProcess(org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) protected voidconstructMenu(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) List<org.bukkit.inventory.ItemStack> int[]int[]intgetProgressTime(org.bukkit.block.Block b) io.github.thebusybiscuit.slimefun5.core.attributes.RadioactivityintgetSpeed()voidstatic voidpreSetup(Supreme plugin, int tierCard, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) static voidpreSetup(Supreme plugin, int tierCard, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input1, org.bukkit.inventory.ItemStack input2, org.bukkit.inventory.ItemStack output) static voidpreSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) static voidpreSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.Material input, org.bukkit.Material output) setSpeed(int speed) protected booleantakeCharge(org.bukkit.Location l, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv) voidtick(org.bukkit.block.Block b) Methods inherited from class com.github.relativobr.supreme.generic.machine.SimpleItemContainerMachine
getBorderSlots, getInputBorderSlots, getOutputBorderSlots, getStatusSlotMethods inherited from class com.github.relativobr.supreme.generic.machine.GenericMachine
findNextRecipe, getConsumedItems, getMachineIdentifier, getProcessing, getProgressBar, getTimeProcess, isProcessing, notHasSpaceOutput, onBlockBreak, setMachineIdentifier, setMachineRecipes, setTimeProcess, updateStatusConnectEnergy, updateStatusInvalidInput, updateStatusLoadMaterial, updateStatusOutputFull, updateStatusResetMethods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
getCapacity, getEnergyComponentType, getEnergyConsumption, getInventoryTitle, getMachineProcessor, getMachineRecipes, register, registerDefaultRecipes, registerRecipe, registerRecipe, registerRecipe, registerRecipe, registerRecipe, setCapacity, setEnergyConsumption, setProcessingSpeed, takeChargeMethods 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, 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 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
getLabelLocalPath, getRecipeSectionLabel
-
Field Details
-
TECH_GENERATOR
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack TECH_GENERATOR -
RECIPE_TECH_GENERATOR
public static final org.bukkit.inventory.ItemStack[] RECIPE_TECH_GENERATOR -
receitasParaProduzir
-
-
Constructor Details
-
TechGenerator
public TechGenerator(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
addRecipesToProcess
public static void addRecipesToProcess(org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) -
preSetup
public static void preSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.Material input, org.bukkit.Material output) -
preSetup
public static void preSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) -
preSetup
public static void preSetup(Supreme plugin, int tierCard, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output) -
preSetup
public static void preSetup(Supreme plugin, int tierCard, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input1, org.bukkit.inventory.ItemStack input2, org.bukkit.inventory.ItemStack output) -
getRecipeShow
-
getRecipeProcess
-
getInputSlots
public int[] getInputSlots()- Specified by:
getInputSlotsin interfaceme.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock- Overrides:
getInputSlotsin classSimpleItemContainerMachine
-
getOutputSlots
public int[] getOutputSlots()- Specified by:
getOutputSlotsin interfaceme.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock- Overrides:
getOutputSlotsin classSimpleItemContainerMachine
-
constructMenu
protected void constructMenu(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) - Overrides:
constructMenuin classGenericMachine
-
preRegister
public void preRegister()- Overrides:
preRegisterin classme.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
-
tick
public void tick(org.bukkit.block.Block b) - Overrides:
tickin classGenericMachine
-
getProgressTime
public int getProgressTime(org.bukkit.block.Block b) - Overrides:
getProgressTimein classGenericMachine
-
takeCharge
protected boolean takeCharge(@Nonnull org.bukkit.Location l, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv) -
getDisplayRecipes
- Specified by:
getDisplayRecipesin interfaceio.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem- Overrides:
getDisplayRecipesin classSimpleItemContainerMachine
-
getSpeed
public int getSpeed()- Overrides:
getSpeedin classme.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
-
setSpeed
-
getRadioactivity
@Nonnull public io.github.thebusybiscuit.slimefun5.core.attributes.Radioactivity getRadioactivity()- Specified by:
getRadioactivityin interfaceio.github.thebusybiscuit.slimefun5.core.attributes.Radioactive
-