Spuddy Boi
📎 1 file 2,151 chars
📄
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.
Kodari AI
KodariAug 29 at 1:41 am 2
SpudzwaveChaosWeather
A Minecraft Fabric mod that replaces normal weather with six chaotic events including Potato Rain, Skully Head Rain, Chicken Storm, Fake TNT Rain, Rainbow Rain, and The Great Potato Event. Features expandable event architecture, operator-only commands for manual triggering, automatic mode with configurable intensity, and performance optimizations including spawn limits and entity cleanup. Includes /chaosrain commands for random or specific events, auto mode toggle, intensity control, and status display. Designed for multiplayer with minimal server impact.
  1. Set up the Fabric 1.21.11 project and metadata.

  2. Implement the expandable chaos-weather engine, event lifecycle, limits, cleanup, and automatic mode.

  3. Add the six weather events and operator-only /chaosrain commands.

  4. Add client assets, language text, and build configuration for a buildable JAR.

  1. Created the Fabric 1.21.11 project with Java 21, Loom 1.14, Fabric Loader 0.19.2, and Fabric API 0.141.4.

  2. Added an expandable event architecture with lifecycle management, automatic scheduling, intensity controls, entity caps, despawn cleanup, and multiplayer-safe server ticking.

  3. Implemented Potato Rain, Skully Head Rain, Chicken Storm, Fake TNT Rain, Rainbow Rain, and The Great Potato Event.

  4. Added operator-only /chaosrain commands for starting, stopping, configuring, and monitoring events.

  5. 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.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
README.md
settings.gradle
Code
18 727
src/client/java/com/spudzware/chaosweather/ChaosRainClient.java
package com.spudzware.chaosweather;

import net.fabricmc.api.ClientModInitializer;

public final class ChaosRainClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
    }
}