Started by DeathD84 on Thu, 03/11/2021 - 21:08
Topic category: Help with modding (Java Edition)
I want to make a sort of frost walker for lava, I've already made the block that reverts back to lava after a certain amount of ticks, i just need help with the procedure to turn lava into the blocks (I only want a 1 block radius/path) I am using the latest snapshot btw !
Edited by DeathD84 on Sat, 03/13/2021 - 19:32
I did that, it's easy.
I used blocks that look like normal minecraft bloks and gives you that blocks when mined and randomly transform into another block that does the same with lava. Ignore the part about the dimension, that for something else in my mod.
Now you can use the 'wait' procedure in the snapshots instead of the random chances.
I made the procedure of the lava replacing with cobblestone but when i use this in negative cords, its not in the middle anymore. Any help?
What do you mean with "its not in the middle anymore"?
Well if i walk on lava with the enchantment on my boots, if its in the negative cords the blocks move -1 back and -1 to the left
I still don't know what you are saying, but what you have done seems exactly how it's suppossed to be.
I think you can simplify this using local variables and a loop. I will look into this and see if I can come up with anything.
I made an example i hope you understand now. The red X is the block where the player stands.