Trying to set minecartMaxSpeed
through a function such as
gamerule minecartMaxSpeed 1000
fails, even when the experimental minecart improvements feature flag is enabled.
I tried a workaround using a macro, in case the experimental pack is activated after the function is loaded, but this didn't work.
What I expected to happen was...: it to be set like any other gamerule would be
What actually happened was...: the function failed to load
Steps to Reproduce:
Create a world with the attached datapack
Try running the either of these commands (they are equivalent)
/function rennen:set_macro_post {key_1:"minecartMaxSpeed"}
/function rennen:set_macro_preView to log file to see why
rennen:set_direct
, which just does:gamerule minecartMaxSpeed 1000
was unable to load
Also attached is a related log file
Attachments
Comments 2
Worth noting that while datapacks cannot normally do this, they can still be set! Here's the method:
Forceload a chunk
Set one of the blocks in that chunk to a repeating command block running the desired command
set the block back to what it previously was
un-forceload the chunk
Mostly just a band-aid fix until they fix it themselves. Hope this helps
Can confirm:
[media]