No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
What is it?
Events is a library datapack used to detect events performed by players and run functions from them.
How to use?
1 Install the datapack into the world folder you want to use this library datapack in.
(NOTE FOR DEVELOPERS: While you can do this (refer to the lisence) I do ask that you don't include the library in your datapack files, but a link to it in the description would be ok if you do include the files. Modrinth has a dependancy system and I ask that you use that instead. Thankyou!)
2 In your datapack add a namespace named events
3 In the events namespace add this folder structure tags/function
4 In the newly created function folder add <EVENT>.json (Replace the with and event described in the list below)
5 In this file copy and paste or type the following
{
"replace":false,
"values":[
]
}
6 In the values field in that file put the names of the functions you want to run in double quotes, each one separated by a comma (it should be the same way as writing it in a /function commad). EXAMPLE:
{
"replace":false,
"values":[
"example:foo",
"example:bar"
]
}
List of events currently implemented
! IMPORTANT ! all functions are run as the player but not at them.
on_player_joinRuns whenever a player joinson_player_first joinRuns the first time a player joinson_player_deathRuns whenever a player dieson_player_killRuns whenever a player kills another playeron_mob_killRuns whenever a player kills a mobon_animals_bredRuns whenever a player breeds animalson_player_take_damageRuns whenever a player takes damageon_player_block_damageRuns whenever a player blocks damage with a shieldon_player_deal_damageRuns whenever a player deals damage
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Aug 21, 2026 5:40 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Aug 21, 2026 5:40 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works