Is your feature request related to a problem?
No
Describe the solution you'd like.
Currently, it is very difficult to interface with an entity's memory and brain.
With Piglins, AI is managed by a static class and it is difficult to even use NMS to modify their behavior.
Events for changes in activities and adding or replacing memories would be useful.
However, I am not sure how viable this is since an entity's brain does not have reference to its owner entity.
Describe alternatives you've considered.
changes in memory could be simply done from the entity itself rather than the brain, however this seems unviable to change every call to updating activities/memories with new changes / entities being added.
Agreements
Other
No response
Is your feature request related to a problem?
No
Describe the solution you'd like.
Currently, it is very difficult to interface with an entity's memory and brain.
With Piglins, AI is managed by a static class and it is difficult to even use NMS to modify their behavior.
Events for changes in activities and adding or replacing memories would be useful.
However, I am not sure how viable this is since an entity's brain does not have reference to its owner entity.
Describe alternatives you've considered.
changes in memory could be simply done from the entity itself rather than the brain, however this seems unviable to change every call to updating activities/memories with new changes / entities being added.
Agreements
Other
No response