Started by
Putseem
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I looked around for a while but I couldn't find an answer. I am trying to make it so that the code will activate the rest of the procedure if the player is only looking at the air and has no block in front of them selected (there is no black outline selected around a block). What would I put in the "if" section of my procedure?
use the entity raytrace x, y, z code blocks
If block at raytraced position = air, do procedure.
Here is a tutorial I made: link