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 ClassesNested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.rebar.block.RebarBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarJumpBlock
io.github.pylonmc.rebar.block.base.RebarJumpBlock.CompanionNested 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
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarJumpBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarSneakBlock
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonJumpedOn(@NotNull com.destroystokyo.paper.event.player.PlayerJumpEvent event, @NotNull org.bukkit.event.EventPriority priority) voidonSneakedOn(@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, writeDebugInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
keyMethods 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:
onSneakedOnin interfaceio.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:
onJumpedOnin interfaceio.github.pylonmc.rebar.block.base.RebarJumpBlock
-