Class LaunchPadCore
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.mooy1.infinitylib.machines.TickingMenuBlock
io.github.addoncommunity.galactifun.base.items.LaunchPadCore
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
public final class LaunchPadCore
extends io.github.mooy1.infinitylib.machines.TickingMenuBlock
-
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
ConstructorsConstructorDescriptionLaunchPadCore(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType type, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanBreak(org.bukkit.entity.Player p, org.bukkit.block.Block b) protected int[]protected int[]protected voidonBreak(org.bukkit.event.block.BlockBreakEvent e, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) protected voidsetup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset) protected booleanprotected voidtick(org.bukkit.block.Block block, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) Methods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
getInputSlots, getTransportSlots, 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, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreaking
-
Constructor Details
-
LaunchPadCore
public LaunchPadCore(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType type, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
tick
protected void tick(@Nonnull org.bukkit.block.Block block, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu) - Specified by:
tickin classio.github.mooy1.infinitylib.machines.TickingMenuBlock
-
canBreak
public static boolean canBreak(@Nonnull org.bukkit.entity.Player p, @Nonnull org.bukkit.block.Block b) -
onBreak
protected void onBreak(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
-
synchronous
protected boolean synchronous()- Overrides:
synchronousin classio.github.mooy1.infinitylib.machines.TickingMenuBlock
-