Started by
Mars33311
on
Topic category: Help with MCreator software
I wanted to make it so that when you wear a lava walking boot, it checks for lava around you and turns it into obsidian, and another one where herobrine turns air into void air. But it gets an error every time. Can you show me how to do it? I think I put in a wrong variable in the templates, but I cannot be sure.
You can make it using procedures:
On player update tick:
If: Get item from armor slot 4 = lava walking boots
Do: If get block at x y-1 z = lava
Do place obsidian at x y-1 z
(you need to check every block here's some help:
So I figured ot that
z+1 is foward
z-1 is backward
x+1 is left
x-1 is right
y+1 is up
y-1 is down
hope this help's)
I mean that there is a template for it
but I must have inputed the wrong variable, because it kept on saying error
i know this is mad old but when setting the trigger to 'on player update tick' it crashes my whole game when trying to test it in the testing world
The check for block template should work fine for it, just make sure you delete the variable it adds, since you're not actually trying to get a return value. Instead, in the central part of the template, check if the block at x+sx, y+sy, z+sz is lava, and, if so, place obsidian at x+sx, y+sy, z+sz. I use this template a lot and I haven't had issues with it in the past.