java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.building.Elevator
All Implemented Interfaces:
io.github.pylonmc.pylon.core.block.base.PylonJumpBlock, io.github.pylonmc.pylon.core.block.base.PylonSneakableBlock

public class Elevator extends io.github.pylonmc.pylon.core.block.PylonBlock implements io.github.pylonmc.pylon.core.block.base.PylonSneakableBlock, io.github.pylonmc.pylon.core.block.base.PylonJumpBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    io.github.pylonmc.pylon.core.block.PylonBlock.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    Elevator(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.pylon.core.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)
     
    void
    onSneakedOn(@NotNull org.bukkit.event.player.PlayerToggleSneakEvent event)
     

    Methods inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getPickItem, getPylonBlock, getSchema, getSettings, getWaila, isVanillaBlock, postLoad, register, setDisableBlockTextureEntity, setupBlockTexture, updateBlockTexture, write, writeDebugInfo

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonSneakableBlock

    onUnsneakedOn
  • Constructor Details

    • Elevator

      public Elevator(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.pylon.core.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)
      Specified by:
      onSneakedOn in interface io.github.pylonmc.pylon.core.block.base.PylonSneakableBlock
    • onJumpedOn

      public void onJumpedOn(@NotNull @NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event)
      Specified by:
      onJumpedOn in interface io.github.pylonmc.pylon.core.block.base.PylonJumpBlock