S

make a mod name: fast crystal remove crystal delay and make sure not visible on mod menu when player holding crystal in main hand the mod turn on automatically if player holding right click and left click on obsidian and holding crystal in main hand the crystal speed up to 8/s

Kodari AI
KodariSep 11 at 5:35 am 1
FastCrystal
Removes end crystal placement delay and boosts placement speed to 8 per second when holding a crystal in the main hand. Activates automatically when holding a crystal, and right-clicking or left-clicking obsidian while holding a crystal triggers the accelerated placement. The mod is hidden from the mod menu and operates silently in the background.
  • Create a Fabric 1.21.11 client-only mod project with split main/client source sets.

  • Add a client mixin that removes vanilla crystal-use cooldown while the required keys, target block, and main-hand crystal conditions are active.

  • Cap accelerated placement at 8 attempts per second without adding a Mod Menu integration.

Created the Fast Crystal Fabric 1.21.11 mod.

  • Activates automatically with an End Crystal in the main hand.

  • Requires holding both right-click and left-click while targeting Obsidian.

  • Removes vanilla crystal-use delay and caps placement at 8 uses per second.

  • Client-only implementation with no Mod Menu integration or visibility entry.

  • Includes complete Gradle/Fabric project structure and client mixin.

S

while holding the crystal and holding right click and left click not placing currectly and not blasting crystal ultra fast

Kodari AI
KodariSep 11 at 5:40 am 1
  1. Fix the crystal placement loop so both mouse buttons are handled correctly and placement is limited to 8 successful placements per second.

  2. Preserve automatic activation while holding an End Crystal and targeting Obsidian.

The current limiter counts calls to doItemUse() instead of client ticks, so it cannot produce a reliable 8/s cadence. It also lets vanilla left-click block breaking compete with crystal placement. I’m moving the rate scheduler to the client tick and suppressing the competing attack only while the crystal conditions are active.

Fixed the crystal placement logic.

  • Uses a tick-based scheduler for a reliable 8 placements per second.

  • Allows placement only when:

    • End Crystal is in the main hand

    • Right-click is held

    • Left-click is held

    • Obsidian is targeted

  • Prevents left-click from breaking the obsidian while the fast-crystal mode is active.

  • Still allows left-click to attack a crystal once the crosshair targets the crystal entity.

S

the mod crushing my game

Kodari AI
KodariSep 11 at 5:43 am 1

Fixed the crash in MinecraftClientMixin.

doAttack() returns a boolean in Minecraft 1.21.11, so the mixin now uses CallbackInfoReturnable<Boolean> and returns false instead of using the incompatible CallbackInfo. This was causing the Mixin startup crash.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 250
src/main/java/com/kodari/fastcrystal/FastCrystal.java
package com.kodari.fastcrystal;

import net.fabricmc.api.ModInitializer;

public final class FastCrystal implements ModInitializer {
    public static final String MOD_ID = "fastcrystal";

    @Override
    public void onInitialize() {
    }
}