/gamerule doesn't work at all
The bug
It appears the /gamerule command is not modifying the gamerule values anymore, or rather the modified values don't take effect.
How to reproduce
- Give yourself some items
/give @s stone
- Change the gamerule keepInventory
/gamerule keepInventory true - Verify the value was changed
/gamerule keepInventory
- Use /kill
/kill @s
→ The items were dropped
Linked Issues
is duplicated by19
Created Issue:
"/gamerule" doesn't work at all
None of the gamerules seem to be working. I tried "/gamerule doDaylightCycle false", and time keeps flowing. So I tried remedying that by using "/time set 6000" in a repeating command block. As expected, it was spamming chat. However, when I used "/gamerule commandBlockOutput false", it still spammed the chat, even though it said the command worked. I also did a simple test of "/gamerule keepInventory true", and then killed myself using /kill, but it didn't work. All of my items fell out.
Environment
Java version
is duplicated by
is duplicated by
Java version
"/gamerule"doesn't work at all
None of the gamerules seem to be working. I tried "/gamerule doDaylightCycle false", and time keeps flowing. So I tried remedying that by using "/time set 6000" in a repeating command block. As expected, it was spamming chat. However, when I used "/gamerule commandBlockOutput false", it still spammed the chat, even though it said the command worked. I also did a simple test of "/gamerule keepInventory true", and then killed myself using /kill, but it didn't work. All of my items fell out.
The bug
It appears the /gamerule command is not modifying the gamerule values anymore, or rather the modified values don't take effect.
How to reproduce
- Give yourself some items
/give @s stone- Change the gamerule keepInventory
/gamerule keepInventory true- Verify the value was changed
/gamerule keepInventory- Use /kill
/kill @s→ The items were dropped
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Duplicates MC-121783 (missed it by a minute
)
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-121783.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-121783.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Duplicates MC-121783, please search before reporting.
Indeed, check MC-121783.
Thank you for your report!
However, this issue is a Duplicate of MC-121783.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for the detailed report, but I'm afraid this is a duplicate of MC-121783
I attached test datapack with main_loop.mcfunction.
With gameLoopFunction=test:main_loop nothing is printed. I used NBTExplorer to set that gamerule because of MC-121783.
But message gets printed after typing command /function test:main_loop.
Another duplicate of MC-121783
Thank you for your report!
However, this issue is a Duplicate of MC-121783.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Environment is for PC details. Use Description for more information about your bug.
That being said, this is a duplicate of MC-121783.
Er, does MC-121783 describe your issue?
In 1.13.2, I'm trying to get command block output to appear in the server log. I've used commands /gamerule commandBlockOutput true and /gamerule logAdminCommands true, but they didn't help.
For instance, if I want to get periodic logs of a player's position, then I can put the following command in a command block: /data get entity @p Pos
The command block is definitely being triggered, and the output is appearing in the output field of the command block.
This is not a duplicate of MC-121783, because other gamerule commands do work.
Confirmed, here's the commands I tried:
/gamerule commandBlockOutput false
Execution of a command block still spams chat.
/gamerule gameLoopFunction path:myfunction
Doesn't loop the function.
can confirm commandblockoutput not working, gameLoopFunction could also be part of the issue that seems to be preventing functions from being found at all
Confirmed.
/gamerule doDaylightCycle falsedoesnt working
Thanks for the three confirmations, but it's already marked as "confirmed", no need for more.
Sunroses No, it's not related, you just had an error in your function. (commenting here so that future readers don't think it's related)
Sancho, can you please attach your video again, this time with a different file name? The bot removed it because of the ".com" in the file name.
Not sure if it helps, but the world I had that issue on had commands off. I changed it to on in MCEdit, and now commands autocomplete and gamerules actually work.
Normally we would ask you if you can reproduce it without that, but in this case I've observed it myself with a world that always had commands on.
Very strange, I loaded a few worlds, both with cheats on and off, not touched for a month or two.
No issues with the cheats always on, the worlds with cheats off don't autocomplete commands after opening to LAN with cheats on and the gamerules don't stick (gamemode works though)
Gamerule fails to work from multiplayer/in-game on my friend's snapshot server either, if that helps any.
it still doesnt work in 17w46a
Fixed for the next snapshot.