Class TickingMenuBlock

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
net.guizhanss.guizhanlib.slimefun.machines.MenuBlock
net.guizhanss.guizhanlib.slimefun.machines.TickingMenuBlock
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
Direct Known Subclasses:
AbstractMachineBlock

@ParametersAreNonnullByDefault public abstract class TickingMenuBlock extends MenuBlock
A TickingMenuBlock is a MenuBlock with BlockTicker.

Modified from InfinityLib

Author:
Mooy1, ybw0014
  • Field Summary

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

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

    Constructors
    Constructor
    Description
    TickingMenuBlock(io.github.thebusybiscuit.slimefun4.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType recipeType, ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected abstract void
    tick(Block b, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
     

    Methods inherited from class net.guizhanss.guizhanlib.slimefun.machines.MenuBlock

    getInputSlots, getInputSlots, getOutputSlots, getTransportSlots, onBreak, onNewInstance, onPlace, postRegister, setup

    Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem

    addItemHandler, addItemSetting, addOfficialWikipage, addWikiPage, callItemHandler, canUse, disable, enable, equals, error, getAddon, getBlockTicker, getById, getByItem, getDrops, getDrops, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, loadDataByDefault, preRegister, register, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warn

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

    useVanillaBlockBreaking
  • Constructor Details

    • TickingMenuBlock

      public TickingMenuBlock(io.github.thebusybiscuit.slimefun4.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType recipeType, ItemStack[] recipe)
  • Method Details

    • tick

      protected abstract void tick(Block b, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
    • isSync

      protected boolean isSync()