Started by
The Pickle
on
Topic category: Help with Minecraft modding (Java Edition)
I have been trying everything I can think of to create a lava walker enchantment but nothing is working. Can anyone help me with how to do it? I am using 2022.1 btw.
make an enchant that can be applied on certain boots only
make a block with 'Tick rate' in 'Advanced Properties' section to a high nuber.
go to triggers section of the block and put code for replacing it with lava in update ticks trigger
ALL THE IMAGES:-
Make a procedure with On player tick update as the trigger (you click on the green block that comes by default) and have it check if the event/target entity has the enchantments on armor slot 0 (boots; 0 is boots, 1 is leggings, 2 is chestplate, 3 is helmet) AND if the block at x y-1 z is lava. If so, replace block at x y-1 z with whatever you want, then use the wait procedure block in flow control to be wait (get level of enchantment of armor slot 0 * any number you want) then on server-side do (replace block at x y-1 z with lava). This way, you can also make use of enchantment levels. If you want the block to break over time like frost ice, just make a custom block with an animated texture and time it right (for example, if you set the number to 100 ticks (5 seconds), then make the texture loop to last for exactly 5 seconds). You can also do an AND gate with a check to see if the enchantment is level 1,2... and make a custom block for each one with a differently timed animated texture. Enchantments in MCreator can be tricky, so don't get frustrated if you don't succeed on the first try
use armour slot 0 instead for 3 in my code
bruh @MeatyMaker00 I just explained that
Aatreyu_Shau I don't know if it's just me but I can't see your images.
nope i cant see em either