Skip to main content
7 events
when toggle format what by license comment
Jun 28, 2013 at 13:50 comment added House -1 This answer isn't much more than a suggestion of where to start to find the answer. Can you elaborate more on the actual steps that should be taken to complete the task?
Jun 27, 2013 at 4:17 comment added Andrew Graber so I actually have to go in to the source code of MC and change it? Can't I just change the method in my files, so I don't have to change MC source code?
Jun 27, 2013 at 4:14 comment added Tips48 yeah you need to find the method where the block is destroyed then take away the experience level. If you're attempting to do an operation like that, you might want to focus on learning basic java for a little longer
Jun 27, 2013 at 3:55 comment added Andrew Graber I'm pretty sure I've got it figured out, but with one small problem... I have no idea how to implement this in my code. I Tried this: "onBlockDestroyed = entityplayermp.addExperienceLevel(-1);" but it says "Syntax error on token "onBlockDestroyed", VariableDeclaratorId expected after this token"
Jun 27, 2013 at 3:34 comment added Tips48 To find the methods to add/remove exp, check in EntityHuman. To help you out, here's the CraftBukkit code for it. All though it's the server version and is different with its decompiled names, it should help you. github.com/Bukkit/CraftBukkit/blob/master/src/main/java/net/…
Jun 27, 2013 at 3:09 comment added Andrew Graber Thanks, @Tips48, but I already have MCP and I had been looking through it for ages, trying to find the answer.
Jun 26, 2013 at 22:59 history answered Tips48 CC BY-SA 3.0