File Details
React-1.12-1.2.0.jar
- R
- Feb 18, 2018
- 73.05 KB
- 221
- 1.12.2
File Name
React-1.12-1.2.0.jar
Supported Versions
- 1.12.2
General
- Fixed the player_spawn event.
- Added a compact log mode, which can be enabled by adding the "compact=true" parameter to the log action. This strips unnecessary information from the log, and saves disk space.
- Bug fixes.
Actions
- spawn_mob: Spawns a mob. Possible parameters are mob_type (e.g. "minecraft:blaze"), x, y, and z.
- spawn_item: Spawns an item in the world. Possible parameters are item (e.g. "minecraft:diamond"), meta, nbt, x, y, and z.
- set_block: Places a block at the specified location. Possible parameters are block (e.g. "minecraft:stone"), meta, x, y, and z.
- explode: Ignites an explosion at the specified location. Possible parameters are strength, flames, x, y, and z.
These actions can take their locations from the action target. For example, the following script spawns a sheep five blocks above any player who sends a chat message that contains the word "sheep":
server_chat=[
{
action=spawn_mob
target=player // The location will be based on the player's location.
parameters {
mob_type="minecraft:sheep"
y=~5 // Changes the y-coord relative to the player's location.
}
conditions {
message=".*sheep.*"
}
}
]
Events
- pre_explosion: Fires before an explosion. Includes an "exploder" target (i.e. the mob that ignited the explosion).
- explosion: Fires during an explosion. Includes an "exploder" target (i.e. the mob that ignited the explosion).
- mob_update: Fires whenever a mob updates. Mostly intended for internal debugging.
Target properties
For worlds:
- id: The dimension ID, e.g. 1.
- seed: The world seed.
- time: The current in-game world time.

