Jaffe2718 / Command-Debug-DevKit

This project is written for debugging Minecraft command.
https://modrinth.com/mod/command-debug-service/
MIT License
13 stars 1 forks source link

A single backslash \ as the last non-whitespace character of a line now allows a command to be continued on the next line. #6

Closed Jaffe2718 closed 1 year ago

Jaffe2718 commented 1 year ago

Leading and trailing whitespace of the following line are stripped before appending.

Jaffe2718 commented 1 year ago

Test plugin 1.1.2-rc1.

Jaffe2718 commented 1 year ago

1.1.2-rc1

Test cross-line commands in MCJE 1.20.2 like these:

give @s \
 minecraft:command_block

give @s \
 minecraft:acacia_boat

give \
 @s \
 \
 \
 minecraft:acacia_boat

time \  
 query gametime

Test features:

Issues & update:

Jaffe2718 commented 1 year ago

Test plugin 1.1.2-rc2.

Jaffe2718 commented 1 year ago
give \  # this is a comment
 @s \
 \
 minecraft:acacia_boat
image
Jaffe2718 commented 1 year ago

Test 1.1.2-rc3.

Jaffe2718 commented 1 year ago

Complete the plan successfully.