Started by
eddgow
on
Topic category: Help with Minecraft modding (Java Edition)
im trying to make a mod that adds new advancments to the game and i want to add one for making a full netherite beacon but i dont know how pls help
Topic category: Help with Minecraft modding (Java Edition)
im trying to make a mod that adds new advancments to the game and i want to add one for making a full netherite beacon but i dont know how pls help
Your best bet would be to create a procedure "when a block is placed" [if (block= beacon) do {...
Now you have to test for each layer of the pyramid to check if they are all netherite blocks. You can use repeat functions to check each line. If you are unsure of how to set up the repeat functions, there are some templates set up in procedures for this, of there are some great videos on YouTube. }
This is all assuming the player places the beacon after creating the pyramid. What kind of psycho places their beacon and the builds the pyramid, lol.
To counter this, you can set up a procedure for the nether block with the same "when a block is placed" trigger, [if (block=netherite) do {...
Set up a similar repeat loop to check for a beacon in an 8 block radius or so, and then [if (block = beacon found) do { call procedure (call your beacon test procedure that you created above)}]
I hope this helps :)