BlunthornAPI
🟠 Updated over a year ago⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #814 of 920 fabric mods in this game by downloads
📋 About This Mod
This is an API mod that adds nothing on its own. Its main goal currently is to simplify the process of creating the (https://modrinth.com/mod/blockblock) mod and its addons.
# Features This mod adds a number of events, as well as a permission system framework that allows developers to prevent players from doing certain actions.
## Events `BlockBreakEvent. ATTACK` - Triggered when a player starts mining a block
`BlockBreakEvent. BEFORE` - Triggered right before a block is broken
`BlockBreakEvent. AFTER` - Triggered after a block is sucessfully broken (cannot be cancelled)
`BlockPlaceEvent` - Triggered a player places a block
`BlockUseEvent` Triggered when a player (right click) uses a block
`EntityItemDropEvent` - Triggered when a killed entity is about to drop its loot
`EntityUseEvent` - Triggered when a player (right click) uses an entity
`ItemUseEvent` - Triggered when a player uses an item
`ObjectCraftedEvent` - Triggered when a player enters a valid recipe in a crafting grid
## Permission framework The permission framework makes it easier to lock a certain action, for a certain item, block, entity or other actions. Locking actions is done on a per-player basis.
The API adds 3 `ActionContext` classes you can use:
`BlockActionContext` - Used for breaking, placement and block interaction.
`ItemActionContext` - Used for item usage and crafting recipes.
`EntityActionContext` - Used for interacting with entities and preventing their drops.
These context classes contain all the info you might need to decide what you need to do with an action.
Alternatively, you can pass it along to the `Permission` class using `Permission.isObjectLocked(context)`. This will return whether an object is locked or not for a certain player.
For a more comprehensive guide on how to use the API, please refer to the (https://github.com/WouterB15/BlunthornAPI/wiki).

[!(https://cdn.modrinth.com/data/cached_images/33bd81aa6ae82fa38ca94fa6bcfc55562920de23.png)](https://discord.gg/8z63AhuDZg)
📊 Mod Details
- Game
- Minecraft Mods
- Author
- WouterB
- Version
- 1.0.7-1.20.x
- Downloads
- 4,307
- Endorsements
- 2
- Category
- fabric
- Created
- 7/3/2024
- Updated
- 10/30/2024
- Game Versions
- 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5
- Tags
- library, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does BlunthornAPI support?
The author lists 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6. Other versions may work but are untested by the author.
What is the latest version of BlunthornAPI?
Version 1.0.7-1.20.x, published 2024-10-30 with 4,307 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await