Class Elevator

java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.building.Elevator
All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarJumpBlock, io.github.pylonmc.rebar.block.base.RebarSneakBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class Elevator extends io.github.pylonmc.rebar.block.RebarBlock implements io.github.pylonmc.rebar.block.base.RebarSneakBlock, io.github.pylonmc.rebar.block.base.RebarJumpBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock

    io.github.pylonmc.rebar.block.RebarBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarJumpBlock

    io.github.pylonmc.rebar.block.base.RebarJumpBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarSneakBlock

    io.github.pylonmc.rebar.block.base.RebarSneakBlock.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.block.base.RebarJumpBlock

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.block.base.RebarSneakBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    Elevator(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context)
     
    Elevator(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onJumpedOn(@NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event, @NotNull org.bukkit.event.EventPriority priority)
     
    void
    onSneakedOn(@NotNull org.bukkit.event.player.PlayerToggleSneakEvent event, @NotNull org.bukkit.event.EventPriority priority)
     

    Methods inherited from class io.github.pylonmc.rebar.block.RebarBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getBlockTextureProperties, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getLoreTranslationKey, getNameTranslationKey, getPickItem, getRebarBlock, getRebarBlockKeyKey, getRebarBlockPositionKey, getRebarBlockTextureEntityKey, getSchema, getSettings, getWaila, isVanillaBlock, postInitialise, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, write, writeDebugInfo

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key

    Methods inherited from interface io.github.pylonmc.rebar.block.base.RebarSneakBlock

    onUnsneakedOn
  • Constructor Details

    • Elevator

      public Elevator(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context)
    • Elevator

      public Elevator(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
  • Method Details

    • onSneakedOn

      public void onSneakedOn(@NotNull @NotNull org.bukkit.event.player.PlayerToggleSneakEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onSneakedOn in interface io.github.pylonmc.rebar.block.base.RebarSneakBlock
    • onJumpedOn

      public void onJumpedOn(@NotNull @NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onJumpedOn in interface io.github.pylonmc.rebar.block.base.RebarJumpBlock