spear.yml

Make a fps boost mod also add a feature it should totally remove fire like I should not be able to see fire and it should cause no lag make it fps boost for 1.21.11 fabric

Kodari AI
KodariSep 27 at 1:06 am 1
FirelessFpsBoost
A Fabric mod for Minecraft 1.21.11 that boosts FPS by completely removing fire rendering and effects. It eliminates all fire particles, flames, burning visuals, and related animations from the game client, preventing any performance lag caused by fire effects. The mod intercepts and suppresses fire particle generation, flame animations, and burning entity visuals, ensuring fire is entirely invisible while maintaining game stability. Optimized for performance, it reduces rendering overhead and improves frame rates, especially in areas with extensive fire sources or burning entities.
  1. Set up a minimal Fabric 1.21.11 client mod project.

  2. Add a toggleable low-graphics profile for FPS, without promising a guaranteed FPS gain.

  3. Hide both world fire and the first-person fire overlay.

Added a client-only Fabric 1.21.11 mod. Press F8 to toggle minimal particles, clouds off, entity shadows off, and biome blend 0; pressing it again restores your previous settings. Fire and soul-fire block visuals and the first-person fire overlay are hidden.

These changes can reduce rendering work, but can’t guarantee a lag-free game or hide every flame-like effect.

spear.yml

Boost it for cpvp like for anchors and crystals

Kodari AI
KodariSep 27 at 1:09 am 1

Plan:

  1. Check the existing toggle and fire-hiding implementation.

  2. Add a PvP-focused performance toggle that reduces anchor/crystal visual load without changing combat mechanics.

Added an independent F7 PvP particle-reduction toggle. When enabled, it suppresses the explosion particles used by respawn anchors and end crystals, while leaving damage, block changes, sounds, and crystal visibility unchanged. F8 still toggles the general FPS profile. This may reduce visual load during PvP, but can’t guarantee an FPS increase.

spear.yml

Mod 'FPS Boost' (fpsboost) 1.0.0 requires version 0.19.2 or later of mod 'Fabric Loader' (fabricloader), but only the wrong version is present: 0.18.2!

Kodari AI
KodariSep 27 at 1:10 am 1

Your installation has Fabric Loader 0.18.2, but the mod declares 0.19.2 or later as required. Update the Loader version for your Minecraft 1.21.11 profile to 0.19.2+, then launch that profile again. Lowering the mod’s requirement would only bypass the check; it wouldn’t update Fabric Loader.

spear.yml

I want it in 0.18.2

Kodari AI
KodariSep 27 at 1:10 am 1

Updated the mod’s Fabric Loader requirement to 0.18.2 or later. This changes the compatibility check; it doesn’t guarantee compatibility if any code or dependencies use APIs unavailable in Loader 0.18.2.

spear.yml

It is crashing my game

Kodari AI
KodariSep 27 at 1:14 am 1

I’ll verify the mixin targets and the declared runtime requirements first; a required mixin pointing at a changed method is a likely startup-crash cause.

  1. Confirm the startup-sensitive mixin targets against 1.21.11 source.

  2. Fix the confirmed handler signature mismatch.

  3. Leave the Loader 0.18.2 requirement unchanged.

Fixed a confirmed startup-crash issue: the fire-overlay mixin handler didn’t accept the three arguments passed by Minecraft 1.21.11’s target method. It now matches that signature and still cancels the overlay. The Loader requirement remains at 0.18.2+.

If it still crashes, send the latest crash report so I can identify any remaining cause.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
10 237
src/client/java/com/kodari/fpsboost/FpsBoostClient.java
package com.kodari.fpsboost;

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.minecraft.client.MinecraftClient;
import net.minecraft.client.option.CloudRenderMode;
import net.minecraft.client.option.GameOptions;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.particle.ParticlesMode;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public class FpsBoostClient implements ClientModInitializer {
    private static final KeyBinding TOGGLE_BOOST = new KeyBinding(
            "key.fpsboost.toggle_boost",
            GLFW.GLFW_KEY_F8,
            KeyBinding.Category.create(Identifier.of("fpsboost", "general"))
    );
    private static final KeyBinding TOGGLE_PVP_BOOST = new KeyBinding(
            "key.fpsboost.toggle_pvp_boost",
            GLFW.GLFW_KEY_F7,
            KeyBinding.Category.create(Identifier.of("fpsboost", "general"))
    );

    private static boolean boosted;
    private static boolean pvpBoosted;
    private static ParticlesMode previousParticles;
    private static CloudRenderMode previousClouds;
    private static boolean previousEntityShadows;
    private static int previousBiomeBlendRadius;

    @Override
    public void onInitializeClient() {
        KeyBindingHelper.registerKeyBinding(TOGGLE_BOOST);
        KeyBindingHelper.registerKeyBinding(TOGGLE_PVP_BOOST);
        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            while (TOGGLE_BOOST.wasPressed()) {
                toggle(client);
            }
            while (TOGGLE_PVP_BOOST.wasPressed()) {
                pvpBoosted = !pvpBoosted;
            }
        });
    }

    public static boolean isPvpBoosted() {
        return pvpBoosted;
    }

    private static void toggle(MinecraftClient client) {
        GameOptions options = client.options;
        if (!boosted) {
            previousParticles = options.getParticles().getValue();
            previousClouds = options.getCloudRenderMode().getValue();
            previousEntityShadows = options.getEntityShadows().getValue();
            previousBiomeBlendRadius = options.getBiomeBlendRadius().getValue();

            options.getParticles().setValue(ParticlesMode.MINIMAL);
            options.getCloudRenderMode().setValue(CloudRenderMode.OFF);
            options.getEntityShadows().setValue(false);
            options.getBiomeBlendRadius().setValue(0);
            boosted = true;
        } else {
            options.getParticles().setValue(previousParticles);
            options.getCloudRenderMode().setValue(previousClouds);
            options.getEntityShadows().setValue(previousEntityShadows);
            options.getBiomeBlendRadius().setValue(previousBiomeBlendRadius);
            boosted = false;
        }
    }
}