Started by
yoinks2143
on
Topic category: Help with MCreator software
im making a spray bottle that paints concrete red
but when i use it, the red concrete spawns in the sky
what should i do?
the code is:
if: (its empty for now, i also need help for this part)
do: If item element (SprayCan) is the item [spray bottle] then play the animation "animation.model.spray"
Replace block at x: X value of look angle vector of [event/target entity]
y: Y value of look angle vector of [event/target entity]
z: Z value of look angle vector of [event/target entity]
with: [red concrete]
keep state (checkmarked) keep NBT (not checkmarked)
what im doing wrong here?
Edited by yoinks2143 on Fri, 11/15/2024 - 23:06
Use the 'when item clicked on block' trigger (in item's triggers tab).
Press + procedure, then do the following:
hope that helps, and good luck with your project.
and i need the coordinates, or i dont need to replace the "x", "y" and "z" blocks?
btw thx :)
with the coordinates, it simply places it at the blocks position. You can use replace block at x y z, btw, but it makes no difference.