Class TechMutation

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 TechMutation extends SimpleItemContainerMachine implements io.github.thebusybiscuit.slimefun5.core.attributes.Radioactive
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.bukkit.inventory.ItemStack[]
     
    static final org.bukkit.inventory.ItemStack[]
     
    static final org.bukkit.inventory.ItemStack[]
     
     
    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
     

    Fields inherited from class com.github.relativobr.supreme.generic.machine.GenericMachine

    machineRecipes

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

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

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

    Modifier and Type
    Method
    Description
    static void
    addRecipeTechMutation(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack recipe1, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack recipe2, int chance, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item)
     
    static void
    addRecipeTechMutation(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack itemStack1, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack itemStack2, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack 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
     
    int
     
    void
     
    setSpeed(int speed)
     
    setUpgradeLuck(int upgradeLuck)
     
    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_MUTATION_I

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack TECH_MUTATION_I
    • RECIPE_TECH_MUTATION_I

      public static final org.bukkit.inventory.ItemStack[] RECIPE_TECH_MUTATION_I
    • TECH_MUTATION_II

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack TECH_MUTATION_II
    • RECIPE_TECH_MUTATION_II

      public static final org.bukkit.inventory.ItemStack[] RECIPE_TECH_MUTATION_II
    • TECH_MUTATION_III

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack TECH_MUTATION_III
    • RECIPE_TECH_MUTATION_III

      public static final org.bukkit.inventory.ItemStack[] RECIPE_TECH_MUTATION_III
    • recipes

      public static final List<MobTechMutationGeneric> recipes
  • Constructor Details

    • TechMutation

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

    • addRecipeTechMutation

      @ParametersAreNonnullByDefault public static void addRecipeTechMutation(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack recipe1, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack recipe2, int chance, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item)
    • addRecipeTechMutation

      @ParametersAreNonnullByDefault public static void addRecipeTechMutation(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack itemStack1, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack itemStack2, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack output)
    • 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
    • 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 TechMutation setSpeed(int speed)
    • getUpgradeLuck

      public int getUpgradeLuck()
    • setUpgradeLuck

      public TechMutation setUpgradeLuck(int upgradeLuck)
    • getRadioactivity

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