Home›Java›Mods›Triggers Mod (1.21.1, 1.20.1) – Track Player Feats and Advancements
Triggers Mod (1.21.1, 1.20.1) – Track Player Feats and Advancements
ModsJava

Triggers Mod (1.21.1, 1.20.1) – Track Player Feats and Advancements

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by Moon

⬇ Download
Triggers Mod (1.21.1, 1.20.1) – Track Player Feats and Advancements — screenshot 1

Triggers Mod brings a unified event system for in-game triggers and advancement criteria across multiple game platforms. It turns standard game actions like enchanting tools, interacting with blocks, taming animals, and gaining stats into clear events. This mod lets other projects listen to these milestones directly without needing tricky code hooks.

Triggers Mod

Features:

How to Use:

  1. Add the Modrinth maven repository block to your build script:
    repositories {
        exclusiveContent {
            forRepository { 
                maven { 
                    url = "https://api.modrinth.com/maven" 
                } 
            }
            filter { 
                includeGroup "maven.modrinth" 
            }
        }
    }
  2. Add this mod to your build script dependencies block:
    dependencies {
        implementation "maven.modrinth:triggers:<version>" 
    }
  3. Register event listeners in your main startup code to track player and entity actions:
    Triggers.EVENTS.addListener(TriggerPlayerEvent.Enchant.class, event -> {
        System.out.println(event.player.getName().getString() + " enchanted " + event.item);
    });
    
    Triggers.EVENTS.addListener(TriggerEntityEvent.TameAnimal.class, event -> {
        if (event.causedByPlayer != null) {
            System.out.println("Animal tamed by: " + event.causedByPlayer.getName().getString());
        }
    });

Triggers Mod Download Links

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more