Additional Events

Quick rating

Community listing page, reviews here may not be monitored by the author.

Additional Events

No reviews yet

Adds additional events that should be in forge

Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
additionalevents-1.1.jar

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

This is a library designed to assist in modding by providing some additional events for mods to use (and in the future some of my mods will be relying on it to hopefully isolate the asm to this library to reduce the chance of conflicts).

Now before you get cross with me, no this is not another one of those libs (I like to call them "Modder Name Libs") that are only used by one modder and the only reason for their existence is to boost downloads to get additional rewards usually coupled with various excuses.

Anyone can contribute to this lib, make pull requests, etc and repackage it in their mod as needed (license is permitting).  (Unlike forge, I won't spend 6 months arguing about how a glorified table is somehow better than a full compiled programming language)

Here's the events so far:

- GenerateLootEvent :

* Fired just before a block's loot is generated,
* used for modifying the loot context and loot table that will be used to generate the loot for a block.
*
* Cancelling this event will skip the loot generation entirely and simply pass an empty list to the block.

- DropLootEvent :

* Works similar to the pre-1.14 HarvestDropsEvent that broke due to blocks using loot tables and forge refuses to put back
* Fired just before a block's loot is dropped into the world.
* Used to modify a block's drops after they're already generated.
* Cancelling this event will prevent the block from spawning in any drops.

- GetCollisionVoxelShapesEvent

* same concept as pre 1.14 getCollisionBoxesEvent but slightly different impl

* Fired during Blockstate#getCollisionShapes

* use this to modify an existing block's collision shape to for example walk on water

* Cannot be cancelled

- ItemEntityDamageEvent

* Used to determine what happens to an itementity that is about to be damaged by something, contains both the amount and the DamageSource that caused it

* Fired during ItemEntity#attackEntityFrom

* Cancelling it will prevent damage to the item entity

Screenshots

Gallery

This project has no gallery images yet.

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~41,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works