Posted October 13, 201212 yr hi can anyone tel me how i can make an achievement trigger on an itempick up?
October 14, 201212 yr I've not made an Achievement, but I'll try to help you out anyway. Some of classes you'll need for reference are EntityItemPickupEvent, EntityItem and Achievement. Make a new Achievement. Make sure to register it. Read how you trigger achievements from the EntityItem class. Add an EntityItemPickupEvent and when the event fires, trigger the achievement. If I missed anything, someone who has actually done it should feel free to correct any issues with the above. http://www.minecraftforum.net/topic/1522738-132-forge-425-gokimods/
October 16, 201212 yr Author well i found the code in entity item but i dont understand the event thing, any help is much appreciated
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.