Skip to content

PylonSneakableBlock and PylonJumpableBlock Events#136

Merged
Seggan merged 5 commits into
masterfrom
sneak-jump-events
Jun 9, 2025
Merged

PylonSneakableBlock and PylonJumpableBlock Events#136
Seggan merged 5 commits into
masterfrom
sneak-jump-events

Conversation

@ihateblueb

@ihateblueb ihateblueb commented Jun 8, 2025

Copy link
Copy Markdown
Contributor

Created for blocks that would need to know what a player is doing on top of them (e.g. elevator).

On the PylonSneakableBlock: I added both onSneakStart and onSneakEnd so developers won't try using the player on the toggle event and have isSneaking be inverted.

@Seggan Seggan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some formatting, LGTM otherwise

Comment thread pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/block/BlockListener.kt Outdated
Comment thread pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/block/BlockListener.kt Outdated
Comment thread pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/block/BlockListener.kt Outdated
Comment thread pylon-core/src/main/kotlin/io/github/pylonmc/pylon/core/block/BlockListener.kt Outdated
ihateblueb and others added 4 commits June 8, 2025 15:54
…BlockListener.kt

Co-authored-by: Seggan <seggan21@gmail.com>
…BlockListener.kt

Co-authored-by: Seggan <seggan21@gmail.com>
…BlockListener.kt

Co-authored-by: Seggan <seggan21@gmail.com>
…BlockListener.kt

Co-authored-by: Seggan <seggan21@gmail.com>
@Seggan
Seggan merged commit b1bd9b3 into master Jun 9, 2025
2 of 3 checks passed
@Seggan
Seggan deleted the sneak-jump-events branch June 9, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants