-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.7.4
-
minecraft version 1.7.4 (vanilla), Windows 7, Java Version: 1.7.0_21
-
Unconfirmed
-
Creative
I had a /scoreboard objectve to track the use of spawneggs (/scoreboard objectives add pause stat.useItem.383). I made it so if someone who used a spawnegg, everyone would get:
/effect @a 3 9999, /effect @a 4 9999 99, /effect @a 8 9999 200,
/effect @a 15 9999, effect @a 16 9999, /effect @a 11 9999 4
and last (but not least),
/give @a[score_pause=1,score_pause_min=1] spawn_egg 1 0 {display:{Name:"Pause / Resume",Lore:["Rightclick this to pause the game",,"please don't over-use this,","other players might get angry at you"]}}. I used "Texelelf"'s MCedit fiter to input the last command.
Once that one person would use a spawnegg again, they would get:
/effect @a clear, /effect @a 3 9999, /effect @a 4 9999 99, and then /give @a[score_pause=1,score_pause_min=1] spawn_egg 1 0 {display:{Name:"Pause / Resume",Lore:["Rightclick this to pause the game",,"please don't over-use this,","other players might get angry at you"]}}
All of this worked on a superfast clock and /testfor commands. But once I used a spawnegg once, it would give me the effects but not the new spawnegg. I tried using a spawnegg, but it didn't work (as I could see on the scoreboard). Also, any commands I tried wouldn't work. I decided to re-log, but when I did that, my inventory and llocation would be the same as about 10 seconds before I used the spawnegg, as if nothing ever happened.