Started by
Igor Tuteja
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
i want to make owl, and make her AI to fly only at night. I tried to do this updatetick procedure, but it was not working...
(i set entity to fly around with speed 0.8)
Any suggestions ?
Replace the true statement in the entity fly block with the condition you want.
Hopefuly this helps!
Thank you for your answer. Unfortunately, it didn't work at all... But I solved the problem and if anyone is wondering how? The answer is below:
In the end I made two owl creatures, one flying owl, the other non-flying. When it is night, the non-flying becomes flying, but when it is noon, flying becomes non-flying...
Do you have the procedure for how you did it? or do you remember? I try to do something like that but with a werewolf
make 2 entities - 1 fly 1 not - make procedure 'when not daytime' (on the entity tick) then despawn-> spawn the other
then make a procedures with local var/NBT to transfer the Current HP of the entity,
hope it helps