@@ -168,6 +168,8 @@ default LinkedHashMap<String, String> commandUsages() {
168168 put ("display.edit.billboard" , "<common_primary>/display edit <common_secondary>(display) <common_primary>billboard <common_secondary>(billboard)" );
169169 put ("display.edit.brightness.block" , "<common_primary>/display edit <common_secondary>(display) <common_primary>brightness block <common_secondary>(brightness)" );
170170 put ("display.edit.brightness.sky" , "<common_primary>/display edit <common_secondary>(display) <common_primary>brightness sky <common_secondary>(brightness)" );
171+ put ("display.edit.rotate_x" , "<common_primary>/display edit <common_secondary>(display) <common_primary>rotate_x <common_secondary>(degrees)" );
172+ put ("display.edit.rotate_y" , "<common_primary>/display edit <common_secondary>(display) <common_primary>rotate_y <common_secondary>(degrees)" );
171173 put ("display.edit.add_line" , "<text_primary>/display edit <text_secondary>(display) <text_primary>add_line <text_secondary>(text)" );
172174 put ("display.edit.remove_line" , "<text_primary>/display edit <text_secondary>(display) <text_primary>remove_line <text_secondary>(line)" );
173175 put ("display.edit.set_line" , "<text_primary>/display edit <text_secondary>(display) <text_primary>set_line <text_secondary>(line) (text)" );
@@ -212,6 +214,8 @@ default List<String> commandDisplayHelpContents() {
212214 "<dark_gray>› <spec:messages.command_usages.display.edit.billboard>" ,
213215 "<dark_gray>› <spec:messages.command_usages.display.edit.brightness.block>" ,
214216 "<dark_gray>› <spec:messages.command_usages.display.edit.brightness.sky>" ,
217+ "<dark_gray>› <spec:messages.command_usages.display.edit.rotate_x" ,
218+ "<dark_gray>› <spec:messages.command_usages.display.edit.rotate_y" ,
215219 "<dark_gray>› <spec:messages.command_usages.display.edit.add_line>" ,
216220 "<dark_gray>› <spec:messages.command_usages.display.edit.remove_line>" ,
217221 "<dark_gray>› <spec:messages.command_usages.display.edit.set_line>" ,
@@ -457,6 +461,22 @@ default String commandDisplayEditRefreshIntervalFailure() {
457461 return "<dark_gray>› <red>Refresh interval must be either <yellow>default<red> or a positive integer value." ;
458462 }
459463
464+ // Display > Edit > Rotate X
465+
466+ @ Order (50 ) @ Key ("command.display.edit.rotate_x.success" )
467+ @ Comment ("Display > Edit > Rotate X" )
468+ default String commandDisplayEditRotateXSuccess () {
469+ return "<dark_gray>› <gray>Display has been rotated. (Pitch: <primary>{pitch}°<gray>)" ;
470+ }
471+
472+ // Display > Edit > Rotate X
473+
474+ @ Order (51 ) @ Key ("command.display.edit.rotate_y.success" )
475+ @ Comment ("Display > Edit > Rotate Y" )
476+ default String commandDisplayEditRotateYSuccess () {
477+ return "<dark_gray>› <gray>Display has been rotated. (Yaw: <primary>{yaw}°<gray>)" ;
478+ }
479+
460480 }
461481
462482 /* IMPLEMENTED BY SPEC */
0 commit comments