All Implemented Interfaces:
Placeable

public class ElevatorPlate extends SimpleSlimefunItem<BlockUseHandler>
The ElevatorPlate is a quick way of teleportation. You can place multiple ElevatorPlates along the y axis to teleport between them.
Author:
TheBusyBiscuit, Walshy
  • Constructor Details

    • ElevatorPlate

      @ParametersAreNonnullByDefault public ElevatorPlate(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, org.bukkit.inventory.ItemStack recipeOutput)
  • Method Details

    • getItemHandler

      @Nonnull public BlockUseHandler getItemHandler()
      Description copied from class: SimpleSlimefunItem
      This returns the ItemHandler that will be added to this SlimefunItem.
      Specified by:
      getItemHandler in class SimpleSlimefunItem<BlockUseHandler>
      Returns:
      The ItemHandler that should be added to this SlimefunItem
    • getFloors

      public void getFloors(@Nonnull org.bukkit.block.Block b, @Nonnull Consumer<List<io.github.thebusybiscuit.slimefun4.implementation.items.elevator.ElevatorFloor>> action)
    • openInterface

      @ParametersAreNonnullByDefault public void openInterface(org.bukkit.entity.Player p, org.bukkit.block.Block b)
    • openEditor

      @ParametersAreNonnullByDefault public void openEditor(org.bukkit.entity.Player p, org.bukkit.block.Block b)