📄
pasted-code-1787967373504.txt
txt
53 lines
▶
Create a polished Minecraft mod called SPUDZWARE Chaos Weather with the tagline "IT'S RAINING WHAT?!"
The mod replaces normal boring weather with random funny chaos weather events.
FIRST VERSION: focus on a strong working core system and these 6 events:
1. POTATO RAIN
Potatoes visibly fall from high above players, scatter when landing and can be collected. Occasionally drop baked potatoes and a very rare custom-named "Legendary SPUDZWARE Potato".
2. SKULLY HEAD RAIN
Skeleton skulls fall from the sky. Most are harmless, but rarely a skull landing creates smoke, a creepy sound and spawns a skeleton.
3. CHICKEN STORM
Chickens fall from the sky with Slow Falling. Some get funny names such as Captain Cluck, Air Chicken and SPUD Chicken.
4. FAKE TNT RAIN
TNT falls from the sky and looks dangerous, with fuse sounds and particles, but does NOT damage blocks by default. When it "explodes", use explosion particles/sound and turn it into potatoes.
5. RAINBOW RAIN
Colorful particles fall around players and occasionally give short balanced buffs such as Speed, Jump Boost, Luck or Regeneration.
6. THE GREAT POTATO EVENT
A rare legendary event with massive potato rain, baked potatoes, potato particles, funny sounds and messages:
"THE GREAT POTATO EVENT HAS BEGUN"
"THE SPUDS HAVE TAKEN OVER"
"SPUDZWARE APPROVES THIS WEATHER"
Add commands:
/chaosrain random
/chaosrain potato
/chaosrain skull
/chaosrain chicken
/chaosrain faketnt
/chaosrain rainbow
/chaosrain greatpotato
/chaosrain stop
/chaosrain auto on
/chaosrain auto off
/chaosrain intensity 1-10
/chaosrain status
Automatic mode should occasionally choose an event without constantly spamming players.
IMPORTANT PERFORMANCE:
Do not spawn thousands of entities.
Use spawn limits, cleanup, shorter despawn times and configurable intensity.
The mod must work well in multiplayer.
Chaos-created temporary entities should clean up when an event ends.
Commands require operator permission.
Make the architecture expandable because I will add many more weather events afterward.
Generate a complete working mod and buildable .jar.
Set up the Fabric 1.21.11 project and metadata.
Implement the expandable chaos-weather engine, event lifecycle, limits, cleanup, and automatic mode.
Add the six weather events and operator-only
/chaosraincommands.Add client assets, language text, and build configuration for a buildable JAR.
Created the Fabric 1.21.11 project with Java 21, Loom 1.14, Fabric Loader 0.19.2, and Fabric API 0.141.4.
Added an expandable event architecture with lifecycle management, automatic scheduling, intensity controls, entity caps, despawn cleanup, and multiplayer-safe server ticking.
Implemented Potato Rain, Skully Head Rain, Chicken Storm, Fake TNT Rain, Rainbow Rain, and The Great Potato Event.
Added operator-only
/chaosraincommands for starting, stopping, configuring, and monitoring events.Added Fabric metadata, client/common source sets, language assets, README, and Gradle build configuration.
The Fake TNT event uses visual/audio effects only and never damages blocks.
package com.spudzware.chaosweather;
import net.fabricmc.api.ClientModInitializer;
public final class ChaosRainClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
}
}