Make a fire sword
Two ways. The first is the quickest.
Way 1: the setting#
- Press New thing.
- Open Blocks and items and pick Weapon.
- Give it a Name, for example Flame Blade.
- Find Sets alight for and type a number of seconds, for example 5. Nought sets nothing alight.
- Press Play. In the game, find the sword in your mod's creative tab and hit a cow.
Way 2: a rule#
Use this when you want more than fire, such as a sound too.
- Open your sword in the Project list on the left and click its Behavior tab.
- Under Or start with an example, press Set on fire ("Whatever it hits catches fire.").
- Or build it yourself: press Add a moment and pick When (this) hits something. Then press Add a line and pick Set (who) on fire for (seconds) seconds.
- Change the seconds, then press Play.