Class TechnologicalSalvager
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.TechnologicalSalvager
- 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.Placeable
public class TechnologicalSalvager
extends io.github.mooy1.infinitylib.machines.AbstractMachineBlock
implements io.github.thebusybiscuit.slimefun5.core.attributes.MachineProcessHolder<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation>
-
Field Summary
Fields inherited from class io.github.mooy1.infinitylib.machines.AbstractMachineBlock
energyCapacity, energyPerTickFields inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
BACKGROUND_ITEM, IDLE_ITEM, NO_ENERGY_ITEM, NO_ROOM_ITEM, PROCESSING_ITEMFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionTechnologicalSalvager(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]io.github.thebusybiscuit.slimefun5.core.machines.MachineProcessor<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation> protected int[]protected intprotected booleanprocess(org.bukkit.block.Block b, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) protected voidsetup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) Methods inherited from class io.github.mooy1.infinitylib.machines.AbstractMachineBlock
energyCapacity, energyPerTick, getCapacity, getEnergyComponentType, register, tickMethods inherited from class io.github.mooy1.infinitylib.machines.TickingMenuBlock
synchronousMethods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
getInputSlots, getTransportSlots, onBreak, onNewInstance, onPlace, 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, 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.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreaking
-
Constructor Details
-
TechnologicalSalvager
public TechnologicalSalvager(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:
processin classio.github.mooy1.infinitylib.machines.AbstractMachineBlock
-
getStatusSlot
protected int getStatusSlot()- Specified by:
getStatusSlotin classio.github.mooy1.infinitylib.machines.AbstractMachineBlock
-
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
-
getMachineProcessor
@Nonnull public io.github.thebusybiscuit.slimefun5.core.machines.MachineProcessor<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation> getMachineProcessor()- Specified by:
getMachineProcessorin interfaceio.github.thebusybiscuit.slimefun5.core.attributes.MachineProcessHolder<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation>
-