mojira.dev
MC-32261

mobGriefing gamerule cannot be set to true with command "gamerule mobGriefing on"

When mobGriefing is set to false, it behaves normally. However, setting it to true either through typing or command blocks does not set the gamerule to true. Tested with creepers and silverfish so far.

Attachments

Comments 6

Cannot confirm.
Setting mobGriefing = false, creeper won't block up blocks
Setting mobGriefing = true again, creeper will block up blocks

It appears that this may be a problem with the "gamerule mobGriefing on" command: tested it with the word "true" and it worked. However, when tested with the word "on", it doesn't.

"True" is the only valid keyword in the gamerule commands. Anything else is interpreted as "false".

The syntax for the gamerule command doesn't allow on. Everything except true is treated as false.
Read on here: http://minecraft.gamepedia.com/Gamerule#Game_Rules

Tip: You can check the current setting with /gamerule mobGriefing

Quasar T

(Unassigned)

Unconfirmed

Minecraft 13w38c

Retrieved