Class TinkersSmeltery
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.mooy1.infinitylib.machines.TickingMenuBlock
io.github.sefiraat.slimetinker.items.workstations.smeltery.TinkersSmeltery
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
public class TinkersSmeltery
extends io.github.mooy1.infinitylib.machines.TickingMenuBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final int[]protected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intFields 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
ConstructorsConstructorDescriptionTinkersSmeltery(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]protected int[]protected voidonBreak(org.bukkit.event.block.BlockBreakEvent event, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) protected voidonNewInstance(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu, org.bukkit.block.Block b) protected voidsetup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset blockMenuPreset) protected voidtick(org.bukkit.block.Block block, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) Methods inherited from class io.github.mooy1.infinitylib.machines.TickingMenuBlock
synchronousMethods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
getInputSlots, getTransportSlots, 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, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreaking
-
Field Details
-
CAST_STORE_SLOTS
protected static final int[] CAST_STORE_SLOTS -
INPUT_SLOT
protected static final int INPUT_SLOT- See Also:
-
CAST_SLOT
protected static final int CAST_SLOT- See Also:
-
OUTPUT_SLOT
protected static final int OUTPUT_SLOT- See Also:
-
PURGE_BUTTON
protected static final int PURGE_BUTTON- See Also:
-
ALLOY_BUTTON
protected static final int ALLOY_BUTTON- See Also:
-
POUR_BUTTON
protected static final int POUR_BUTTON- See Also:
-
LAVA_INFO
protected static final int LAVA_INFO- See Also:
-
METAL_INFO
protected static final int METAL_INFO- See Also:
-
-
Constructor Details
-
TinkersSmeltery
public TinkersSmeltery(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
tick
protected void tick(org.bukkit.block.Block block, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) - Specified by:
tickin classio.github.mooy1.infinitylib.machines.TickingMenuBlock
-
setup
protected void setup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset blockMenuPreset) - 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
-
onBreak
protected void onBreak(@Nonnull org.bukkit.event.block.BlockBreakEvent event, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu) - Overrides:
onBreakin classio.github.mooy1.infinitylib.machines.MenuBlock
-
onNewInstance
protected void onNewInstance(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu, @Nonnull org.bukkit.block.Block b) - Overrides:
onNewInstancein classio.github.mooy1.infinitylib.machines.MenuBlock
-