Started by
amogus6116
on
Topic category: Help with MCreator software
I want to get the X Y Z coordinates of the block above the player while they are wearing a custom armor piece, and save them into local variables for later use. How would I do this?
Do this with code blocks:
IF (Get Item from armor slot (?) = (Armor))
{
Set Local (x) to (x position of event/target entity)
Set Local (y) to (y position of event/target entity)
Set Local (z) to (z position of event/target entity)
}