Command Fixes
Folia disables a lot of commands when introducing region threading. This is simply because some commands need to be able to be scheduled or run on entities or in contexts that may not be in the current region. As such, some of these commands are not really safe for region threading fully. Canvas attempts to reintroduce as many as it can within reason, and even PRing some of its fixes to Folia itself
The commands we fix are as follows:
- The bossbar command
- The dialog command
- The loot command
- The spectate command
- The spreadplayers command
- The tag command
- The tick command
- Side-note, this was completely reimplemented, and is not Vanilla compatible. This command was fully rewritten
and reimplemented for region threading, not aiming to restore the Vanilla
tickcommand - More documentation on this can be found here
- Side-note, this was completely reimplemented, and is not Vanilla compatible. This command was fully rewritten
and reimplemented for region threading, not aiming to restore the Vanilla
- The waypoint command
- More documentation on this can be found here
- The save-all command
- The pitch and yaw in the tp command
- In Folia, the pitch/yaw would always be set to 0, breaking Vanilla compatibility
- The scoreboard command
- The trigger command
- The team command
- The teammsg command
- The data command
- The
storagedata type is disabled in Canvas26.1for now. This may be fixed in a later version
- The
- The clone command
Commands which were merged in Folia from one of our PRs: