
This is a mod that allows you to register totem events for specified items, and it has been open-sourced on GitHub.
You can register items using TotemRegister.register(Item item). In addition, you can set the event to trigger after activation and whether to overwrite the original event for specified items:
TotemRegister.register(Item totem, BiConsumer<ServerPlayer, ItemStack> runnable);
TotemRegister.register(Item totem, BiConsumer<ServerPlayer, ItemStack> runnable, boolean overwrite);
If you want to register multiple items at once, you can use TotemRegister.register(Class<?> clazz) to register all variables of type Item within a specified class, for example:
TotemRegister.register(Items.class);
Note: This function may throw InstantiationException and IllegalAccessException exceptions. Please use try-catch blocks to catch these exceptions.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as tr-1.0.jar — drop this file into the mods folder
- Download size: 14 KB
- Download link checked 10 Sept 2026 — working
These come from our own check of the pack file, not from the source page.