Class ForcefieldGenerator

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.addoncommunity.galactifun.base.items.protection.ForcefieldGenerator
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 ForcefieldGenerator extends io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem implements io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
  • Field Summary

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

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

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

    Modifier and Type
    Method
    Description
    int
     
    io.github.thebusybiscuit.slimefun5.core.networks.energy.EnergyNetComponentType
     

    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, preRegister, register, 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

    • ForcefieldGenerator

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

    • getEnergyComponentType

      @Nonnull public io.github.thebusybiscuit.slimefun5.core.networks.energy.EnergyNetComponentType getEnergyComponentType()
      Specified by:
      getEnergyComponentType in interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
    • getCapacity

      public int getCapacity()
      Specified by:
      getCapacity in interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent