Windows 10

Windows 10 New chat

Chat history

Create me a mod for Minecraft Name Flowers dream it adds abilities

J= Jarona does 999 damage to anyone Keypad 2= Prism blow gives slowness 255 to the target for 5 seconds(like stun) Keypad 3 = JaORANGE summons orange particles that hit player 28 damage Keypad 4= Omega form summons blue orange yellow green cyan purple particles they start spinning around the player

after that damage of abilities change

JaOrange = 999 damage Jarona = 999 damage Prismblow = 99 damage and stun also when player walks it spawns 3 by 3 rainbow particles (they dissapear after 2 seconds)

allows player in survivor to fly if in fly then particles spawn dirt block that also dissapear after 2 seconds

also gives speed 3 Fabric 1.21.11

Kodari AI
KodariOct 5 at 3:28 pm 2
FlowersDream
Adds a set of powerful combat abilities to Minecraft Fabric 1.21.11. The mod grants the player four keypad-triggered skills: Jarona deals 999 damage, Prism Blow applies slowness 255 for 5 seconds, JaORANGE summons orange particles dealing 28 damage, and Omega Form activates a spinning rainbow particle aura. After Omega Form, all abilities are enhanced: JaORANGE and Jarona deal 999 damage, Prism Blow deals 99 damage with stun. While active, the player gains creative flight with dirt block particle trails, speed III, and spawns 3x3 rainbow particles that fade after 2 seconds.
  1. Set up the 1.21.11 Fabric project and common/client entrypoints.

  2. Add server-validated hotkeys, survival flight, Speed III, and the Omega/rainbow/flight particle effects.

Created the Flowers dream Fabric 1.21.11 mod.

  • J — Jarona: deals 999 damage to the targeted entity.

  • Numpad 2 — Prism blow: applies Slowness 255 for 5 seconds; in Omega form, it also deals 99 damage.

  • Numpad 3 — JaORANGE: creates orange particles and deals 28 damage, or 999 in Omega form.

  • Numpad 4 — Omega form: starts the colored spinning particle effect and upgrades the abilities above. Omega form lasts for the current player session.

  • In survival, players automatically gain flight and Speed III. Walking creates a short-lived 3×3 rainbow trail; flying creates a fading dirt-particle trail.

These abilities are innate—no items or recipes are required.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 347
src/client/java/com/flowersdream/client/FlowersDreamClient.java
package com.flowersdream.client;

import com.flowersdream.FlowersDream;
import com.flowersdream.network.AbilityPayload;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public class FlowersDreamClient implements ClientModInitializer {
    private static KeyBinding jaronaKey;
    private static KeyBinding prismBlowKey;
    private static KeyBinding jaOrangeKey;
    private static KeyBinding omegaFormKey;

    @Override
    public void onInitializeClient() {
        KeyBinding.Category category = KeyBinding.Category.create(Identifier.of(FlowersDream.MOD_ID, "abilities"));
        jaronaKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.flowersdream.jarona", GLFW.GLFW_KEY_J, category));
        prismBlowKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.flowersdream.prism_blow", GLFW.GLFW_KEY_KP_2, category));
        jaOrangeKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.flowersdream.jaorange", GLFW.GLFW_KEY_KP_3, category));
        omegaFormKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.flowersdream.omega_form", GLFW.GLFW_KEY_KP_4, category));

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (client.player == null) {
                return;
            }

            sendAbilityWhenPressed(jaronaKey, 0);
            sendAbilityWhenPressed(prismBlowKey, 1);
            sendAbilityWhenPressed(jaOrangeKey, 2);
            sendAbilityWhenPressed(omegaFormKey, 3);
        });
    }

    private static void sendAbilityWhenPressed(KeyBinding key, int ability) {
        while (key.wasPressed()) {
            ClientPlayNetworking.send(new AbilityPayload(ability));
        }
    }
}