Class TechGenerator

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

    Fields
    Modifier and Type
    Field
    Description
    static final List<AbstractItemRecipe>
     
    static final org.bukkit.inventory.ItemStack[]
     
    static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
     

    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
    TechGenerator(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addRecipesToProcess(org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output)
     
    protected void
    constructMenu(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
     
    List<org.bukkit.inventory.ItemStack>
     
    int[]
     
    int[]
     
    int
    getProgressTime(org.bukkit.block.Block b)
     
    io.github.thebusybiscuit.slimefun5.core.attributes.Radioactivity
     
     
     
    int
     
    void
     
    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)
     
    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)
     
    static void
    preSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack input, org.bukkit.inventory.ItemStack output)
     
    static void
    preSetup(Supreme plugin, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.Material input, org.bukkit.Material output)
     
    setSpeed(int speed)
     
    protected boolean
    takeCharge(org.bukkit.Location l, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv)
     
    void
    tick(org.bukkit.block.Block b)
     

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

    getBorderSlots, getInputBorderSlots, getOutputBorderSlots, getStatusSlot

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

      public static final List<AbstractItemRecipe> 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

      public List<AbstractItemRecipe> getRecipeShow()
    • getRecipeProcess

      public List<AbstractItemRecipe> getRecipeProcess()
    • getInputSlots

      public int[] getInputSlots()
      Specified by:
      getInputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
      Overrides:
      getInputSlots in class SimpleItemContainerMachine
    • getOutputSlots

      public int[] getOutputSlots()
      Specified by:
      getOutputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
      Overrides:
      getOutputSlots in class SimpleItemContainerMachine
    • constructMenu

      protected void constructMenu(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
      Overrides:
      constructMenu in class GenericMachine
    • preRegister

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

      public void tick(org.bukkit.block.Block b)
      Overrides:
      tick in class GenericMachine
    • getProgressTime

      public int getProgressTime(org.bukkit.block.Block b)
      Overrides:
      getProgressTime in class GenericMachine
    • takeCharge

      protected boolean takeCharge(@Nonnull org.bukkit.Location l, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu inv)
    • 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 SimpleItemContainerMachine
    • getSpeed

      public int getSpeed()
      Overrides:
      getSpeed in class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
    • setSpeed

      public TechGenerator setSpeed(int speed)
    • getRadioactivity

      @Nonnull public io.github.thebusybiscuit.slimefun5.core.attributes.Radioactivity getRadioactivity()
      Specified by:
      getRadioactivity in interface io.github.thebusybiscuit.slimefun5.core.attributes.Radioactive