Skip to content

Books not opening anymore on 1.21.6, 1.21.7 #221

Open
@LoneDev6

Description

@LoneDev6

Books not opening anymore on 1.21.7. Tested also on 1.21.6.
Tested on:

Paper 1.21.7-32-main@e792779 (2025-07-16T20:10:15Z) for Minecraft 1.21.7
compileOnly("net.kyori:adventure-api:4.24.0-SNAPSHOT")
compileOnly("net.kyori:adventure-text-minimessage:4.24.0-SNAPSHOT")
compileOnly("net.kyori:adventure-text-serializer-gson:4.24.0-SNAPSHOT")
compileOnly("net.kyori:adventure-text-serializer-gson-legacy-impl:4.24.0-SNAPSHOT")
compileOnly("net.kyori:adventure-platform-bukkit:4.4.1-SNAPSHOT")

This code does nothing on 1.21.7.

 bukkitAudiences.player(event.getPlayer()).openBook(Book.builder()
    .author(Component.text("Kyori", NamedTextColor.AQUA))
    .addPage(Component.text("is amazing", NamedTextColor.DARK_GRAY))
    .title(Component.text("Adventure", NamedTextColor.LIGHT_PURPLE))
    .build());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions