6

Me and my friend were playing Minecraft, and I created a world with cheats de-activated. When I opened it to LAN, I activated cheats, and changed the two game rules keepInventory (True) and mobGriefing (false). But, my items dropped when I died, and a Creeper blew up part of my Mineshaft.

Later, my friend started up a Singleplayer world (with cheats), enabled those two gamerules (to the same as on our LAN), and the same results happened.

I am pretty sure I put the command in right, seeing as I did:

/gamerule [hit tab until I got to the rule I wanted to change] [hit tab until I got to the way I wanted to change it] and hit enter. 

How do I get them to work?

  • 1
    That is puzzling. Can you use an NBT reader to open the save's level.dat to see what the gamerules are set to now? – SevenSidedDie Feb 16 '15 at 22:34
  • What's the version? – 54D Feb 17 '15 at 3:42
  • Are you running EXACTLY /gamerule keepInventory true? – Chris Feb 17 '15 at 3:53
  • 1
    pretty sure, I typed /gamerule, then used the tab button to cycle through modifiers for it – Shadow Z. Feb 17 '15 at 4:10
  • Maybe it has something to do with the fact that the world originally had cheats off, maybe try copy and pasting this commands into your chat: /gamerule keepInventory true and /gamerule mobGriefing false – alixey999 Feb 18 '15 at 10:15
1

You must ensure that the following standards are met:

  1. Cheats are ON
  2. You made sure that the 'g' in gamerule is lowercase
  3. The I in keepInventory is capital
  4. true is not capitalized.

If all else fails, you might have to re-install Minecraft. If that doesn't work, I have no idea what will. Happy Crafting!

  • As I stated in the first segment of the question, the first world does not have cheats enabled (it did enable them with LAN), but the second world does meet all of those requirements. – Shadow Z. Feb 24 '15 at 1:54
  • Very strange. I'll have to look into this more. – Jim Bob Feb 24 '15 at 13:38
0

For some reason, if you do /gamerule set (example gamerule) then it will of claimed to of done the gamerule when it has actually not, but if you just put /gamerule (example gamerule) then it will work fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.