Started by
crowinsanity13
on
Topic category: Help with Minecraft modding (Java Edition)
im not sure if this is simple or complex, but i want every lava block in my world turned into a custom block, i dont want anyone bringing lava inside the dimension so.
use dimension generation--fluid block
procedure
on block tick update:
if block at <x y z> is lava:
replace block at <x y z> extinguished_lava(or whatever block)
play sound lava_extinguish
summon particle extinguish at <x y z> amount:(some amount)
else if block at <x y z> is flowing_lava:
remove(not break unless you want lava breaking particle!) block at <x y z>
summon particle extinguish at <x y z> amount:(some amount)
play sound lava_extinguish
//if you have a "extinguished flowing lava block" or something like that change remove block to replace block
that didnt do anything, thesupermoder, the lava is still there, might be because i don't know what you mean with block update, there wasnt an option for that unless you make a new block, which i don't see what kind of block i need to make to do that