Modryos.

Mob behaviour editor

A piece of your own code that joins one activity of a mob's brain, the game's or another mod's.

How to add it#

  • New thing > Mobs and models > Mob behaviour

What you can set#

SettingWhat it does
NameWhat you call it in the project.
MobThe mob, chosen from the game's mobs and your own.
ActivityThe activity of its brain the behaviour joins, such as ram for a goat's charge. Choose one of: Always (core), Idle, Work, Play, Rest, Meet, Panic, Raid, Before a raid, Hide, Fight, Celebrate, Admire an item, Avoid, Ride, Play dead, Long jump, Ram, Tongue, Swim, Lay spawn, Sniff, Investigate, Roar, Emerge, Dig.
PriorityWhere it runs among the activity's behaviours: a lower number first.
Behaviour classYour class's full name; it is made once for each mob, with no arguments.
ConditionsWhen the activity may run, one a line: a memory and present, absent or registered, such as tempting_player absent. They stand in for the activity's own, so list the game's too.

What it becomes in the game#

It is written into the mod when you Cook or press Play.

What it works with#

It does not point at other things.

Picture#

Mob behaviour editor

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.