#Make an entity face another without commands
32 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
can do
const $BehaviorUtils = Java.loadClass('net.minecraft.world.entity.ai.behavior.BehaviorUtils')
$BehaviorUtils.lookAtEntity(LivingEntityWhoNeedsToLook, LivingEntityToLookAt)
Hmm does this work in a server script? because i cant quite get it to work
does that even work?
cuz it does smth with the brain and whatever
and i dont rlly understand it
couldn't tell you, I just looked at what a mob does in mc when you tell it to face something lol
😭
when does that even happen
Ticket closed!
Ticket re-opened!
Oops
Ye im unable to actuallt get the method to work fully
Logs say everything is fine but functionally nothing happens
then reopen the yicket
i did
which entity did you test it on
it looks like the method messes with ai
so like try on a pig
I figured it out
Ticket closed!
how?
you should reply with a solutio
this is search indexed
so poeple searching can know the solution