This repository has been archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Lore Triggers
Nick Ignoffo edited this page Sep 29, 2016
·
2 revisions
Lore Triggers are a way to trigger the obtaining of Lore for a player by meeting specific requirements.
In your Lore JSON, these are inserted in place of the { ... }
listed here.
This trigger is fired when a Player has obtained the listed achievement.
ID: loreexpansion:achievement
Format: Achievement Serializer
Example:
"trigger": {
"triggerId": {
"domain": "loreexpansion",
"path": "achievement"
},
"target": {
"id": "achievement.openInventory"
}
}
This trigger is fired when a Player has reached the listed coordinates.
ID: loreexpansion:location
Format: BlockPos Serializer
Example:
"trigger": {
"triggerId": {
"domain": "loreexpansion",
"path": "location"
},
"target": {
"xPos": 100,
"yPos": 5,
"zPos": 100
}
}