Jump to content

[1.6.4]Replacing Vanilla achievement requirements


Recommended Posts

Hi, I'm Java but have some knowledge of programming.


I've been trying to figure out a way to fix achievements in a mod that replaces vanilla's tool system but can't seem to figure out how to go about it.


I attempted to change the ID and put one in it's place but it is marked as final, so I attempted to override it and then i'm unable to call my method as it became non-static



public void load(FMLInitializationEvent event)



public class Achievements extends Achievement {

public Achievements(int par1, String par2Str, int par3, int par4,
		Item par5Item, Achievement par6Achievement) {
	super(par1, par2Str, par3, par4, par5Item, par6Achievement);

private static AchievementList achievementlist;

public Achievement registerAchievement() {
		achievementlist.buildHoe.statId = 0;
		Achievement mybuildHoe = (new Achievement(6, "buildHoe", 2, -3, Item.hoeIron, AchievementList.buildWorkBench)).registerAchievement();
		return mybuildHoe;



Any help would by greatly appreciated


Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.