Started by
OmniCrraftX
on
Topic category: Help with Minecraft modding (Java Edition)
I'm currently working on my very first mod: It is a mod that adds a fictional material, Omnium, into the game. One of the planned achievements (advancements in later versions of Minecraft) involves getting a Omnium Tools, (Pickaxe, Axe, Shovel, and Hoe). I'd like to please know how to make such a achievement trigger.
Use on crafted trigger of these tools to trigger your procedure. In this procedure, add "add achievement to player" procedure block and select your procedure.
But I want to trigger the achievement only when all items are made.
You can use global save variables for this, use flags for each of the craftings. Or use entity NBT tags to store this data per player. And then when all the flags are set, give the achievement.
I'd like a step-by-step guide so that I don't mess things up.
There is no point in giving you finished example. One learns by doing ;)
I'm still new to this mod creation process. I'm not sure how exactly to work this out.
Try to use only one variable first (global or entity NBT tag) to see how it works and build from there. Nobody was an expert from the day one :D