Posted March 21, 20169 yr I'm working on a new feature for my Mod that keeps count of Player and Zombie kills. When the player dies, it'll reset the count. Any idea what methods are needed? I already have: public Integer playerKills = 0; public Integer zombieKills = 0; public Integer minutesLived = 0; and I'm trying to have those values go up when the player kills a Zombie. Thanks! http://i.imgur.com/vmqyxTE.png[/img]
March 21, 20169 yr Author diesieben07, is there any chance I could private message you about something? http://i.imgur.com/vmqyxTE.png[/img]
March 22, 20169 yr I think that vanilla Minecraft already counts hoe many of each mob is killed by each player. Look into "stats" to see what's there and how to read the count of Zombie kills. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.