Identifiers
The identifier
parameter is a unique way to separate and identify multiple instances of a trigger holder. These have
no bearing on parameter conditions and are strictly a way to group parameters together (unless the implied trigger
system is used which you can read more on below). For instance, a time trigger with an identifier of "night" would not
be active during the night (night would need to be set for the time_bundle parameter) but it would be referenced
elsewhere like time-night
. Identifiers are specific to each trigger (biome-thing
would be different than
dimension-thing
). Identifiers are required for every trigger holder and not allowed for other types of triggers.
Identifiers can be any string value but it is recommended to keep them relevant to the function of the trigger.
The default value for all identifier parameters is not_set
. You may also see not_set
appearing in the context of
simple or basic triggers that do not accept identifiers.
Implied Triggers
Implied triggers refers to a helper system that was made to streamline the creation of simple trigger holder instances. It allows for certain triggers to be referenced without the need to explicitly them in the config file or GUI. This is where the "implied triggers" terminology comes from, as the system uses the identifier to "imply" what the required parameters should be. In the case of no identifier present such as for simple triggers, the implied trigger system is compatible with triggers that do not have any required parameters.
Listed below are the "implied mappings" for what specific identifiers map to for specific triggers. Triggers that do
not have any mappings will be listed as either COMPATIBLE
or INCOMPATIBLE
acidrainCOMPATIBLEadvancementINCOMPATIBLEadventureCOMPATIBLEbiomeidentifier -> resource_name = [ identifier ]blizzardCOMPATIBLEblockentityidentifier -> resource_name = [ identifier ]bloodmoonCOMPATIBLEbluemoonCOMPATIBLEcloudyCOMPATIBLEcommandidentifier ->must be parsable as a positive integer ->persistence = identifiercreativeCOMPATIBLEdeadCOMPATIBLEdifficultyidentifier ->"0" or "peaceful" -> level = 0"1" or "easy" -> level = 1"2" or "normal" -> level = 2"3" or "hard" -> level = 3"4" or "hardcore" -> level = 4dimensionidentifier -> resource_name = [ identifier ]drowningCOMPATIBLEeffectidentifier -> resource_name = [ identifier ]elytraCOMPATIBLEfishingCOMPATIBLEgamestageidentifier -> resource_name = [ identifier ]genericCOMPATIBLEguiidentifier -> resource_name = [ identifier ]harvestmoonCOMPATIBLEheightidentifier ->must be parsable as an integer ->level = identifierhomeCOMPATIBLEhurricaneCOMPATIBLEinventoryidentifier -> items = [ identifier ]lightidentifier ->must be parsable as an integer between [0,15] ->level = identifierlightrainCOMPATIBLEloadingCOMPATIBLElowhpCOMPATIBLEmenuCOMPATIBLEmobidentifier -> resource_name = [ identifier ]moonidentifier -> resource_name = [ identifier ]petCOMPATIBLEpvpCOMPATIBLEraidCOMPATIBLErainingCOMPATIBLErainintensityCOMPATIBLEridingidentifier -> resource_name = [ identifier ]sandstormCOMPATIBLEseasonidentifier ->"0" or "spring" -> season = 0"1" or "summer" -> season = 1"2", "autumn", or "fall" -> season = 2"3" or "winter" -> season = 3snowingCOMPATIBLEspectatorCOMPATIBLEstarshowerCOMPATIBLEstatisticidentifier -> resource_name = [ identifier ]stormingCOMPATIBLEstructureidentifier -> resource_name = [ identifier ]timeidentifier ->"day" -> time_bundle = "day""night" -> time_bundle = "night""sunrise" -> time_bundle = "sunrise""sunset" -> time_bundle = "sunset"tornadoidentifier -> level = 1underwaterCOMPATIBLEvictoryidentifier ->must be parsable as a positive integer ->persistence = identifierzonesINCOMPATIBLE