Started by
modbroz
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a living entity look out the window any ways to do this?
Edited by modbroz on Thu, 04/17/2025 - 16:23
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a living entity look out the window any ways to do this?
Someone please help me with this
Look up in the procedure template tab and select the "search a block in 3x3x3 area" or something like that, it is one of the first in the list. Adapt it to your needs, but select the glass bock or glass panel that is the window. Then, in the "If true" part, put an "Attempt to make entity find a path to..." but change the x y and z for the variables in the previous part. It must look like "get number local sx" and sy and sz. Then add a "make entity look at..." and also change the x y z for the same variables. I think that ought to work, but check it out for yourself.