#hunger

1 messages · Page 1 of 1 (latest)

celest wagon
#

I am trying to get an entity to have some kind of hunger mechanic to a carnivore creature, so that it's more "realistic" and unpredictable. I figured out how to make it hungry and only attack when hungry but I don't know how to make it not hungry after a kill.

runic warren
#

Check if something has a tag then events

#

Add a tag when it's hungry and remove the tag when it killed someone by minecraft:behavior:meele_attack

#

Then on_kill: {}

#

Then event when it kills

celest wagon
#

I got things working. thanks