Class Elevator
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 ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonJumpedOn(@NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event) voidonSneakedOn(@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, writeDebugInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
onSneakedOnin interfaceio.github.pylonmc.pylon.core.block.base.PylonSneakableBlock
-
onJumpedOn
public void onJumpedOn(@NotNull @NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event) - Specified by:
onJumpedOnin interfaceio.github.pylonmc.pylon.core.block.base.PylonJumpBlock
-