PaperMC / PaperMC/Paper

Make PlayerEditBookEvent use Paper Components

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

Nobody has claimed this yet.

status: accepted
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 the PlayerEditBookEvent pass the BookMeta for allow modify the content but not make use of the new Paper Components

Describe the solution you'd like.

Add the same methods for old/new/set but for the Components.
not sure if based in the event the component is the writtable or written

Describe alternatives you've considered.

Just use ItemMeta

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 inspecting PlayerEditBookEvent, its existing BookMeta methods, and the Paper Components API to determine whether the event should expose writable or written components. Define equivalent old/new/set component methods with clear semantics, then verify the event API and its behavior with appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.