promotional bannermobile promotional banner

React (abandoned)

Script reactions to events

File Details

React-1.12-0.1.2.jar

  • B
  • Jul 7, 2017
  • 53.54 KB
  • 346
  • 1.12

File Name

React-1.12-0.1.2.jar

Supported Versions

  • 1.12

General

  • Mostly bug fixes and internal changes. React is fairly stable now, and is therefore being moved to beta.

Actions

  • The "kill" and "damage" actions now accept an optional "damage_source" parameter, which simulates a specific type of damage. This affects, among other things, the death message (if the mob dies).
  • Added a "feed" action, which adds the specified amount to the player's food bar.
  • Added a "set_position" action, which set's the position of the mob. This accepts relative positions, for example "~10" translates to mob position + 10, whereas "~-10" translates to mob position - 10, and "~" translates to mob position. An example may be found here.

Conditions

  • Fixed "command_arguments". The condition now accepts a regex string, which is matched with the entire argument set. An example may be found here.

Targets

  • The "dimension_travel" event now has a mob target. An example may be found here.

Target conditions

  • Added "min_food_level", "max_food_level", "min_saturation", and "max_saturation", all numbers.