Skip to content

book signing#801

Open
xcfrg wants to merge 2 commits into
Earthcomputer:fabricfrom
xcfrg:new-book-command
Open

book signing#801
xcfrg wants to merge 2 commits into
Earthcomputer:fabricfrom
xcfrg:new-book-command

Conversation

@xcfrg

@xcfrg xcfrg commented Jul 6, 2026

Copy link
Copy Markdown

The server will accept book title lengths higher than the client limit of 15 chars

Comment thread src/main/java/net/earthcomputer/clientcommands/command/BookCommand.java Outdated
Comment thread src/main/java/net/earthcomputer/clientcommands/command/BookCommand.java Outdated
Comment thread src/main/resources/assets/clientcommands/lang/en_us.json Outdated
@xcfrg
xcfrg requested a review from xpple July 8, 2026 02:32
.then(argument("seed", longArg())
.executes(ctx -> fillBook(ctx.getSource(), ascii(new Random(getLong(ctx, "seed"))), getInteger(ctx, "limit")))))));
.requires(source -> MultiVersionCompat.INSTANCE.getProtocolVersion() < MultiVersionCompat.V1_15)
.then(literal("static")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why are we changing the syntax of /cbook fill?

}

dispatcher.register(literal("cbook")
LiteralArgumentBuilder<FabricClientCommandSource> cbook = literal("cbook")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

No need to extract the variable here

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.

3 participants