Class OxygenSealer
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.addoncommunity.galactifun.base.items.protection.OxygenSealer
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
public final class OxygenSealer
extends io.github.mooy1.infinitylib.machines.MenuBlock
implements io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner
-
Field Summary
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_ITEMFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionOxygenSealer(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe, int range) -
Method Summary
Modifier and TypeMethodDescriptionintio.github.thebusybiscuit.slimefun5.core.networks.energy.EnergyNetComponentTypeprotected int[]protected int[]protected voidonBreak(org.bukkit.event.block.BlockBreakEvent e, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) protected voidonPlace(org.bukkit.event.block.BlockPlaceEvent e, org.bukkit.block.Block b) protected voidsetup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) Methods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
getInputSlots, getTransportSlots, onNewInstance, postRegisterMethods 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, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner
getHologramOffset, removeHologram, updateHologramMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreaking
-
Constructor Details
-
OxygenSealer
public OxygenSealer(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe, int range)
-
-
Method Details
-
onPlace
protected void onPlace(@Nonnull org.bukkit.event.block.BlockPlaceEvent e, @Nonnull org.bukkit.block.Block b) - Overrides:
onPlacein classio.github.mooy1.infinitylib.machines.MenuBlock
-
onBreak
protected void onBreak(@Nonnull org.bukkit.event.block.BlockBreakEvent e, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) - Overrides:
onBreakin classio.github.mooy1.infinitylib.machines.MenuBlock
-
setup
protected void setup(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) - Specified by:
setupin classio.github.mooy1.infinitylib.machines.MenuBlock
-
getInputSlots
protected int[] getInputSlots()- Specified by:
getInputSlotsin classio.github.mooy1.infinitylib.machines.MenuBlock
-
getOutputSlots
protected int[] getOutputSlots()- Specified by:
getOutputSlotsin classio.github.mooy1.infinitylib.machines.MenuBlock
-
getEnergyComponentType
@Nonnull public io.github.thebusybiscuit.slimefun5.core.networks.energy.EnergyNetComponentType getEnergyComponentType()- Specified by:
getEnergyComponentTypein interfaceio.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
-
getCapacity
public int getCapacity()- Specified by:
getCapacityin interfaceio.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
-