PaperMC / PaperMC/Paper

Cancellable Event when an Eyeblossom opens/closes and when Creaking Heart actives/deactivates

Open
#12,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Is your feature request related to a problem?

Currently there is no event when an Eyeblossom opens/closes, to this cannot be logged or stopped by plugins. Same for Creaking hearts that activate/deactivate.

Describe the solution you'd like.

For the opening/closing Eyeblossom spigot is using the BlockFormEvent, maybe that could be called in paper too or maybe some other event. For the heart maybe the same event.

I am not completely happy with the BlockFormEvent, but it is used for block transforming itself like concrete powder->concrete too so it could be fine. And i think it is better than using the BlockGrowEvent, because it is not realy about growing.

Or maybe some completely new event, but I don't know how it should be named.

Describe alternatives you've considered.

/

Other

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing BlockFormEvent and how Eyeblossom opening/closing and Creaking Heart activation/deactivation are represented. Determine whether those state changes fit a cancellable BlockFormEvent or require new events; done means plugins can observe and cancel each transition with appropriate API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.