Class AtmosphericHarvester

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.mooy1.infinitylib.machines.TickingMenuBlock
io.github.mooy1.infinitylib.machines.AbstractMachineBlock
io.github.addoncommunity.galactifun.base.items.AtmosphericHarvester
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

public final class AtmosphericHarvester extends io.github.mooy1.infinitylib.machines.AbstractMachineBlock
  • Field Summary

    Fields inherited from class io.github.mooy1.infinitylib.machines.AbstractMachineBlock

    energyCapacity, energyPerTick

    Fields inherited from class io.github.mooy1.infinitylib.machines.MenuBlock

    BACKGROUND_ITEM, IDLE_ITEM, INPUT_BORDER, NO_ENERGY_ITEM, NO_ROOM_ITEM, OUTPUT_BORDER, PROCESSING_ITEM

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

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

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

    Modifier and Type
    Method
    Description
    protected int[]
     
    protected int[]
     
    protected int
     
    protected boolean
    process(org.bukkit.block.Block b, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
     
    protected void
    setup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
     

    Methods inherited from class io.github.mooy1.infinitylib.machines.AbstractMachineBlock

    energyCapacity, energyPerTick, getCapacity, getEnergyComponentType, register, tick

    Methods inherited from class io.github.mooy1.infinitylib.machines.TickingMenuBlock

    synchronous

    Methods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock

    getInputSlots, getTransportSlots, onBreak, onNewInstance, onPlace, postRegister

    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, preRegister, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class 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.ItemAttribute

    getId

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

    useVanillaBlockBreaking
  • Constructor Details

    • AtmosphericHarvester

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

    • process

      protected boolean process(@Nonnull org.bukkit.block.Block b, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
      Specified by:
      process in class io.github.mooy1.infinitylib.machines.AbstractMachineBlock
    • getStatusSlot

      protected int getStatusSlot()
      Specified by:
      getStatusSlot in class io.github.mooy1.infinitylib.machines.AbstractMachineBlock
    • setup

      protected void setup(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
      Specified by:
      setup in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getInputSlots

      protected int[] getInputSlots()
      Specified by:
      getInputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getOutputSlots

      protected int[] getOutputSlots()
      Specified by:
      getOutputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock