Back to mods
Notify project artwork

Modrinth · Minecraft mod

Notify

You don't want to create mixins for each project over and over again for the same events.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Notify release should I use?

Updated 2 years ago
Latest stable file 1.3.0
Game version 1.20, 1.20.1, 1.20.2
Loader Fabric, Quilt

Notify 1.3.0 targets 1.20, 1.20.1, 1.20.2 with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.

Where it goes

Is Notify required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Notify 1.3.0 need?

1.3.0. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Fabric Language Kotlin, Fabric API first. We found matching files for this game-version and loader setup.

Fabric Language Kotlin Needed by Notify 1.3.0
required
Matching file found Matched file: 1.14.2+kotlin.2.4.21
Fabric API Needed by Notify 1.3.0
required
Matching file found Matched file: 0.92.12+1.20.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Notify without breaking your instance.

Built for Notify 1.3.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.0. It targets 1.20, 1.20.1, 1.20.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric Language Kotlin, Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.0. It opens that exact file at the source.

About this project

What does Notify add?

🔔Notify

You don't want to create mixins for each project over and over again for the same events you could just use in the good old paper days.
This is why we created this spectacular library/mod, where we just have to add the events once and can use them in every other project!

For this we use alert, a blazing fast event listening utility.
See alert's documentation on how to listen to events.

How to use

Add the following to your mod's build.gradle.kts file:

repositories {
    mavenCentral()
}

dependencies {
    // ...
    
    modImplementation("de.hglabor:notify:1.1.3")
}

Then put the built jar file of notify into your mods folder. You should be able to subscribe to the events like this:

// (On the server)
subscribeToEvent<PlayerJoinEvent> {
    logger.info("Player ${it.player.name.string} joined")
}

Events currently implemented

Subscribing to events on the client is not tested! (server/common events should work on the server)

Common
  • PlayerAttackEntityEvent
  • PlayerHungerChangeEvent
  • PlayerItemPickupEvent
  • PlayerPlaceBlockEvent
  • PlayerSlotClickEvent
Server
  • PlayerBreakBlockEvent
  • PlayerDeathEvent
  • PlayerInteractItemEvent
  • PlayerInteractBlockEvent
  • PlayerItemDropEvent: called when a player attempts to drop an item
  • PlayerItemDroppedEvent: called after an item was dropped
  • PrePlayerJoinEvent: called before a player joins the server
  • PlayerJoinEvent: called when a player joins the server. Allows modification of the join message
  • PostPlayerJoinEvent: called after a player joins the server
  • PlayerRemoveEvent: called after a player got removed from the player list
  • PlayerQuitEvent: called when a player quits the server. Allows modification of the quit message
  • PlayerSwapHandItemsEvent
  • PlayerTickEvent
  • PlayerSetSettingsEvent: called e.g. when player changes client language
  • EntitySpawnEvent
  • ProjectileHitEvent: called when a projectile hits another entity
Client soon™

For more, read our github readme

Project description from Modrinth.

Pick your setup

Notify by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

20 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Notify versions and loaders

7 of 7 releases match

Looking for an older file? The official Modrinth project page is in Resources.