Modryos.

Behavior editor

What happens when something happens: when this sword hits, set the target on fire.

How to add it#

  • New thing > Logic and code > Behavior

What you can set#

SettingWhat it does
NameWhat to call this behaviour in the tree.
Belongs toThe block or item that does this.
RulesWhat happens, and when. Edited on the thing's Behavior tab.

What it becomes in the game#

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

What it works with#

It points at: Block, Item, Mob, Projectile, Thing, Vehicle, Spell, Area value, World event, Satellite, Space station, When fluids meet, The player, Screen, Command, Key binding, Skill tree, Quests, Guide book, Word of your own, Chest menu.

An example#

To make a sword set things on fire, see Make a fire sword. It uses one rule, step by step.

Picture#

Behavior editor

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