Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

How To Add Your Own Achievements

  • Please log in to reply
66 replies to this topic



Posted 24 January 2013 - 10:28 PM

View PostMonkeymad358, on 18 January 2012 - 08:50 AM, said:

You would either have to change the existing achievements which i think is tge eng_lang file (don't know where though), or make it come of a different seperate branch. By the way though, it is impossible to craft a stone pickaxe without making a wooden pickaxe.

It is possible, by the way, just explode a creeper near some stone.
I am also interested in ho to do that. I am fairly new to code, so if you show me how to do that, that would be great

Register or log in to remove.



    Tree Puncher

  • Members
  • 29 posts
  • Location: Arizona
  • Minecraft: TeratomaZone

Posted 10 February 2013 - 01:35 AM

I'm trying to create a mod that includes custom items and achievements when they are picked up. Nothing too complicated, but I'm using linkseyi's Mod Maker to create the items. I intend to include the mod with an adventure map.

This is my code:
public static final Achievement getLassiter = (new Achievement(1000, "getLassiter", 4, -4, Item.lassiter;

ModLoader.AddAchievementDesc(getLassiter, "Shiny!", "You found The Lassiter!");

public void OnItemPickup(EntityPlayer entityplayer, ItemStack itemstack)
								if(itemstack.itemID == Item.Lassiter/Block.shiftedIndex/165)
												entityplayer.addStat(yourStat, 1);

I used Eclipse to create a .class file with the above, and included it in my mod, but nothing shows up in the achievements map, and nothing happens when I 'get' the item.

I admit to pretty much just feeling around in the dark, but I do kinda feel like I'm close. Can you help me?

Thanks in advance!



Posted 18 February 2013 - 01:56 AM

What if I wanted to add an achievement for putting on diamond boots?
Posted Image



    Stone Miner

  • Members
  • 80 posts
  • Location: griefing yo house! (don't come home!)
  • Minecraft: derf421

Posted 21 February 2013 - 12:10 AM

View PostMooningRobot, on 14 January 2012 - 11:44 PM, said:

You lost me at "add"
they really are like flaming squirrels...



Posted 05 March 2013 - 02:37 AM

Could you add a video on how to do it because its easier to follow on  a video.
YouTube is Amazing


  • Location: in my secret base under your house.
  • Minecraft: ja4nos

Posted 13 March 2013 - 06:27 PM

Can you please tell me how to make an achievement for picking up an emerald? Like the whole code stuff because I cannot really code and I'm trying to do it for about 2 hours now :( . Thanks!
Posted Image


  • Location: in my secret base under your house.
  • Minecraft: ja4nos

Posted 21 March 2013 - 02:19 PM

Could anyone help me?
Posted Image