Class AutomaticDoor

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.addoncommunity.galactifun.base.items.AutomaticDoor
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

public final class AutomaticDoor extends io.github.mooy1.infinitylib.machines.MenuBlock
  • 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_ITEM

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

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

    Constructors
    Constructor
    Description
    AutomaticDoor(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int[]
     
    protected int[]
     
    protected void
    onPlace(org.bukkit.event.block.BlockPlaceEvent e, org.bukkit.block.Block b)
     
    void
     
    protected void
    setup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
     

    Methods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock

    getInputSlots, getTransportSlots, onBreak, onNewInstance, postRegister

    Methods 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, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class Object

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

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

    useVanillaBlockBreaking
  • Constructor Details

    • AutomaticDoor

      public AutomaticDoor(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • onPlace

      protected void onPlace(@Nonnull org.bukkit.event.block.BlockPlaceEvent e, @Nonnull org.bukkit.block.Block b)
      Overrides:
      onPlace in class io.github.mooy1.infinitylib.machines.MenuBlock
    • setup

      protected void setup(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset preset)
      Specified by:
      setup in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getInputSlots

      protected int[] getInputSlots()
      Specified by:
      getInputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getOutputSlots

      protected int[] getOutputSlots()
      Specified by:
      getOutputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock
    • preRegister

      public void preRegister()
      Overrides:
      preRegister in class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem