Mineuniverse
Log in Register
Mods

EventBlocks API

API for modpacks, which allows you to add custom blocks, which will generate random event from added list every noon
by CreatorSindrome
Download Claim this project
56 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

EventBlock API

Description:
EventBlock API is a Minecraft Forge mod for 1.20.1 that adds special blocks that generate random events every in-game noon. These blocks can add excitement and unpredictability to your world, making them perfect for adventure maps, custom worlds, or modpacks.

Features:

  • Blocks that trigger a random event every in-game noon.
  • When block is placed - it will take texture, sounds, model and other properties of block beneath it (for now only works with: stone, dirt, diorite, snow block, granite, andesite, grass block and sand)
  • Fully configurable: modpack creators can add custom events.
  • Works seamlessly with other Forge mods.

For Modpack Creators:
To add a custom event to a block’s event list:

  1. Import the RandomBlock class:

    import com.creatorsindrome.eventblock.common.block.RandomBlock;

  2. Register your event using the static method:

 
    RandomBlock.regBlockEvent(new BlockEvent() { @Override public void run(BlockState blockstate, ServerLevel world, BlockPos pos) { // Your custom event code here } });

 

The run method receives the following arguments:

  • BlockState blockstate — the state of the block triggering the event
  • ServerLevel world — the server-side world
  • BlockPos pos — the position of the block

Usage:
Simply place the Random Event Block in your world. Every in-game noon, it will execute one of the registered events. Combine multiple blocks for more complex behaviors.

Recommended For:

  • Adventure maps
  • Custom servers
  • Modpacks looking to add dynamic world events
EventBlock_1.1.jar
MC Client, 1.20.1, Forge, Server
Release 2025-09-15 Get

More from CreatorSindrome

What Not API
28

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314