promotional bannermobile promotional banner

React (abandoned)

Script reactions to events

File Details

React-1.12-1.1.0-dev.jar

  • R
  • Nov 30, 2017
  • 65.54 KB
  • 30
  • 1.12.2+2

File Name

React-1.12-1.1.0-dev.jar

Supported Versions

  • 1.12.2
  • 1.12.1
  • 1.12

General

  • Added "target properties", dynamic text strings that can be used in parameters. For example, %%%mob.name%%% will be replaced with the name of the mob before the parameter is processed. See GitHub for more information.

Actions

  • log : Now takes 3 parameters; message, maximum_backups, and log_name. If log_name is set, the message will be logged to a log with that name in the logs/react directory, instead of the main React log. The maximum_backups parameter sets the number of logs to retain (5 by default).
  • command : Executes a command as the target. Uses the "command" parameter.
  • server_command : Executes a command as the console. Uses the "command" parameter. Be careful.

Conditions

  • remote_world=true : Every Minecraft world actually consists of two "worlds": a client world, and a server world. The client world is read-only, and is the "world" being rendered in-game. The server world handles all the logic. In a singleplayer game, both "worlds" are handled by the same Minecraft instance. In a multiplayer game, each client has a client world, and the server has a server world. This condition checks whether the world is a client world.
  • has_variables=["mob", "attacker"] : Checks if the specified variables (the objects behind targets) are present. Mostly intended for debugging.