Skip to content

Change SignTranslateEvent to use Adventure #688

@DerToaster98

Description

@DerToaster98

Is your feature request related to a problem? Please describe.
All old setLine(), getLine() etc methods that operate on strings are deprecated and the new methods use Components. We should do the same in our event.

In addition since 1.20 signs have multiple sides you can write on, so in that version we need to call that event per side, otherwise we will lose data.

Describe the solution you'd like
Migrate the fields and methods to use Components and as long as 1.18 is being used, define a wrapper class that actually fills and handles the relevant parts in Translate and Rotate tasks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions