Spark link
https://spark.lucko.me/CnOnBY0YPf
Expected behavior
The StructureTemplateManager class contains code which allows for SNBT files to be placed. This feature is designed to be used with the export functionality for "/test" and Test Instance Blocks (learn more: https://github.com/Mickey42302/JavaEditionDevTools).
When "register-minecraft-debug-commands" is set to true, this registers the export sub-commands for "/test". This allows users to export the data for game tests to an SNBT file. This should also allow users to utilize the export data that was created.
Observed/Actual behavior
When I attempted to place the SNBT template that was created using the export sub-commands, the "/place template" command did not detect it at all. This indicates that the functionality which provides support for SNBT files is not registered.
Steps/models to reproduce
To reproduce this, set "register-minecraft-debug-commands" to "true". Create a game test using the "/test" command using your desired name. Once that is done, export the data using the export sub-commands. When you attempt to place the SNBT template using "/place template", the command will not detect the file.
Purpur version
This server is running Purpur version 1.21.10-2518-HEAD@ffe2f80 (1970-01-01T00:00:00Z) (Implementing API version 1.21.10-R0.1-SNAPSHOT).
Agreements
Other
This can also be re-produced using the "Export Structure" button in the Test Instance Block. Please note that this method is only accessible if the game's development tools are enabled using my patch (https://github.com/Mickey42302/JavaEditionDevTools).
Spark link
https://spark.lucko.me/CnOnBY0YPf
Expected behavior
The StructureTemplateManager class contains code which allows for SNBT files to be placed. This feature is designed to be used with the export functionality for "/test" and Test Instance Blocks (learn more: https://github.com/Mickey42302/JavaEditionDevTools).
When "register-minecraft-debug-commands" is set to true, this registers the export sub-commands for "/test". This allows users to export the data for game tests to an SNBT file. This should also allow users to utilize the export data that was created.
Observed/Actual behavior
When I attempted to place the SNBT template that was created using the export sub-commands, the "/place template" command did not detect it at all. This indicates that the functionality which provides support for SNBT files is not registered.
Steps/models to reproduce
To reproduce this, set "register-minecraft-debug-commands" to "true". Create a game test using the "/test" command using your desired name. Once that is done, export the data using the export sub-commands. When you attempt to place the SNBT template using "/place template", the command will not detect the file.
Purpur version
This server is running Purpur version 1.21.10-2518-HEAD@ffe2f80 (1970-01-01T00:00:00Z) (Implementing API version 1.21.10-R0.1-SNAPSHOT).
Agreements
Other
This can also be re-produced using the "Export Structure" button in the Test Instance Block. Please note that this method is only accessible if the game's development tools are enabled using my patch (https://github.com/Mickey42302/JavaEditionDevTools).