When piglins are attacking a wither skeleton or wither boss, it does not have any data in Brain.memories."minecraft:angry_at"
Steps To Reproduce:
Summon a Piglin covered with fences
Summon a Wither Skeleton covered with fences
Use this command to get data:
/data get entity @e[type=minecraft:piglin,limit=1,sort=nearest] Brain
Expected Output:
Piglin has the following entity data:
{memories: {"minecraft:angry_at": {value: [I; -2039825867, -1879097342, -1812001975, 1098820771], ttl: 541L}}}
Actual Output:
Piglin has the following entity data:
{memories: {}}
NOTE: It outputs properly if you summon hoglins instead of wither skeletons as shown in the attached video.
NOTE 2: It also outputs properly if wither skeletons hit the piglin before running the data command. You may test this by summoning archer wither skeleton.
Command blocks used in the attachment:
Removes Piglin's hunted_recently data: /data remove entity @e[type=minecraft:piglin,limit=1,sort=nearest] Brain.memories."minecraft:hunted_recently"
Summon Wither with NoAI:1b: /summon wither ~ ~1 ~ {NoAI:1b}
Attachments
Comments 0
No comments.