text
stringlengths 0
1.13k
|
---|
items: Determines the items that are allowed to match the specified slots. Accepts a list of [WIP] |
slots: Determines the inventory slots that will be checked for the matched items. Accepts a list |
of strings where each element correlates to a slot or group of slots to match. Valid elements include |
"MAINHAND", "OFFHAND", "HOTBAR", "ARMOR", "ANY", or a specific slot number. "MAINHAND" checks the |
item currently held in the main hand, "OFFHAND" checks the item currently held in the off hand, |
"HOTBAR" checks all 9 hotbar slots, "ARMOR" checks the 4 armor slots, and "ANY" is the default that |
checks all inventory slots. |
raid |
Index |
Activates during a raid. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, level, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: (1.16.5+), identifier |
level: The minimum wave number that the raid must reach before the trigger can activate. |
gamestage |
Index |
Activates based on whether the player has or does not certain gamestages. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, resource_name, persistence, start_delay, passive_persistence, toggle_inactive_playable, is_whitelist |
Requires: Game Stages (1.12.2, 1.16.5, 1.18.2 Forge, 1.19.2 Forge), identifier, resource_name |
resource_name: A list of stage names that the player must contain at least one of. |
is_whitelist: If this is false, the player is not allowed to have any of the stage names |
listed in the resource_name parameter. |
rainintensity |
Index |
Activates based on the current rain strength. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, level, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: Dynamic Surroundings (1.12.2, 1.16.5), identifier, level |
level: The current percentage strength of the rain must be greater than this value |
tornado |
Index |
Activates if there is a tornado at or above the correct level nearby |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, level, persistence, start_delay, passive_persistence, toggle_inactive_playable, detection_range |
Requires: Weather, Storms & Tornadoes (1.12.2), identifier |
level: The current level of the tornado must be at or above this level. |
Accepts integer values between 0-5 |
detection_range: The range that will be checked for a tornado. The default value is 16 |
moon |
Index |
Activates during a custom moon event. |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, resource_name, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: Enhanced Celestials (1.16.5), identifier, resource_name |
resource_name: A list of moon names that the current moon event is allowed to partially match. |
season |
Index |
Activates during a season |
Accepts: priority, identifier, fade_in, fade_out, trigger_delay, song_delay, start_toggled, not, level, persistence, start_delay, passive_persistence, toggle_inactive_playable |
Requires: Serene Seasons (1.12.2, 1.16.5, 1.18.2 Forge, 1.19.2 Forge), identifier, level |
level: The current season must be this. |
0 = Spring |
1 = Summer |
2 = Autumn |
3 = Winter |
Miscellaneous Features |
Index |
There are a few other features of Music Triggers that don't really fit into any of the other categories, so they will be mentioned here instead |
Music Discs |
Index |
If REGISTER_DISCS is enabled in the registration config, you can use a music recorder to "record" the currently playing audio onto a blank music disc. Simply right click a blank music disc into a music recorder while a song is playing and after a maximum time of 30 seconds, an enhanced music disc will pop out with the correct song attached to it. Enhanced music discs will have a different texture based on the highest priority trigger that was active when it was recorded. In the case of multiple channels playing audio at the same time, a random channel will be chosen to be recorded from. |
Since you cannot use a music recorder on the title screen, the menu trigger has a special method of recording. Simply put an enhanced music disc that has already been recorded back into the music recorder and it will be colored differently, indicating it is looking for menu songs. If multiple menu songs are present, a random one will be chosen. If no menu songs are present, the recording will fail and the original disc will be returned. |