
Modrinth · Minecraft mod
Entity Rain Events
Data driven events where entities fall from the sky
Quick answer
Which Entity Rain Events release matches 1.18 Forge?
Entity Rain Events 1.0.7 targets 1.18, 1.18.1, 1.18.2 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Entity Rain Events required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Entity Rain Events 1.0.7 need?
1.0.7 on 1.18 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Entity Rain Events without breaking your instance.
Built for Entity Rain Events 1.0.7 on 1.18 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.7. It targets 1.18, 1.18.1, 1.18.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.7. It opens that exact file at the source.
About this project
What does Entity Rain Events add?
Cause brief entity rain events where different creatures fall from the sky. The default data pack adds a fish rain event.
Data Packs
New entity rain events are defined by json files in the entityrain folder of data packs.
The format of these files is as follows,
radius(int): the number of blocks around each player that entities will spawn (the area will be a square)height(int): how many blocks above the ground the entities will spawnspawnRate(int): an entity will spawn near each player every x ticks (on average) while the event is activespawn(list of EntitySpawnOption): the types of entities that will spawn during this eventwhen(EventConditions): what situations this event should start underchance(int): how likely the event is to start. the chance for the event to start each check is (1/chance). the check is made for each possible event whenever it switches between day/night or raining/clear. the event will last until the next check.replace(boolean): what happens if another data pack has already defined an event of this name. if true, the existing event will be deleted and this file will be used instead. if false, the contents ofspawnanddimensionswill be added to the existing event. the defaults to true.
You can see the default fish rain json data on github.
EntitySpawnOption
entity(string): the registry key of the entity type (ie.minecraft:zombie)weight(int): how likely this entity is compared to the others. chance of each entry is (weight / totalWeight)biomes(list of string): resource locations of biomes to whitelist (allow this spawn in). optional, when not defined the spawn will occur in all biomes. Tags are supported, prefix with#biomesIsBlacklist(boolean): when true, thebiomesfilter is inverted, the spawn will NOT occur in the listed biomes. optional, defaults to false
the data for currently active rain events does not change when the /reload command is used, you must wait for it to start again to see the effects
EventConditions
raining(boolean): can the event start while its rainingnotRaining(boolean): can the event start while its NOT rainingday(boolean): can the event start in the daytimenight(boolean): can the event start in the nighttimedimensions(list of string): the registry keys of the dimensions the event may happen in (ie.minecraft:overworld)biomes(list of string): resource locations of biomes to whitelist (allow rain to occur in). optional, when not defined the event will cause spawns in all biomes. Tags are supported, prefix with#biomesIsBlacklist(boolean): when true, thebiomesfilter is inverted, the entities will NOT be spawned in the listed biomes. optional, defaults to false
Commands
To test your data packs, you can force change the active entity rain event in your current dimension with the following commands (requires OP permissions).
/entityrain start <key>
/entityrain stop
Credits
Project description from Modrinth.
Pick your setup
Entity Rain Events by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.18.1
1 loader build1.18
1 loader build1.16.5
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Entity Rain Events versions and loaders
1.0.7
smellsfishy-1.0.7.jar
12 Nov 2022
Looking for an older file? The official Modrinth project page is in Resources.