Started by
SoldierIV
on
Topic category: Help with Minecraft modding (Java Edition)
im creating a mod to troll my friends, and i think there gonna punch a chicken at some point but i cannot for the life of me figure out how to make the chicken become aggressive. thanks.
Edited by SoldierIV on Sat, 04/02/2022 - 12:33
Make the chicken agresive is imposible without custom coding
Despite of that, you can make it with procedures
Step 1: create a new mob that looks like a chicken (or similar) and make it hostile, don't make it spawn
Step 2: Create a procedures with the global condition "entity attacked"
And do this
If get event entity Target is of subtype: chicken
Do:
Summon hostile chicken (new mob)
Despawn event entity Target
This Will replace the chicken with the hostile one
Hope I help