NoAi Chicken won't activate pressure plate
Solution 1:
It's because the chicken is not affected by gravity, so removing the NoAI
tag will help out. The OnGround
tag is redundant as well. However, the chicken will still be able to move and lay eggs, which may mess stuff up. Here's how you can fix both things:
You can utilize the Movement Speed attribute to force the chicken to stand still, like so:
Attributes:[{Name:generic.movement_speed,Base:0}]
Additionally, chickens have a special attribute involving how long until their next egg is laid. Set it to a very high number within your summon command:
EggLayTime:99999
You may need to reset this timer occasionally.
Your final /summon command should look like this:
summon minecraft:chicken 654 65 316 {CustomName:"\"mC\"",CustomNameVisible:1,Health:100,Attributes:[{Name:"generic.maxHealth",Base:100},{Name:"generic.knockbackResistance",Base:1f},{Name:generic.movement_speed,Base:0}],Silent:1,EggLayTime:99999}
The other commands should work fine.
Solution 2:
You could use tripwire and string. NoAI
chickens still activate that.