Create a Minecraft Fabric optimization and PvP-focused modpack with the following features:
- Maximum FPS boost and performance optimization.
- Disable or heavily reduce unnecessary particles (explosions, potion particles, smoke, ambient particles).
- Include support and visibility for all Minecraft potion effects.
- Make swords and axes smaller (short weapons for better screen visibility).
- Make the Totem of Undying smaller and less obstructive.
- Hide the shield model from first-person view while keeping shield functionality.
- Reduce fire overlay size significantly so fire does not cover much of the screen.
- Low-lag rendering settings.
- Optimized entity rendering.
- Reduced animation effects for better FPS.
- PvP-friendly GUI and HUD.
- Smooth gameplay on low-end devices.
- Compatible with the latest Fabric Loader version.
- Use performance mods such as Sodium, Lithium, Starlight, FerriteCore, Entity Culling, ImmediatelyFast, and ModernFix.
- Keep game visuals clean while prioritizing competitive PvP and high FPS.
</finished>
Create a Fabric 1.21.11 client-only PvP performance mod with split source sets and cached JSON configuration.
Add first-person rendering mixins for short weapons, a smaller totem, shield hiding, and a removed fire overlay.
Enforce minimal particles client-side, declare optional compatibility with the requested optimization mods, and document the recommended pack.
Created the Fabric 1.21.11 PvPBoost project with:
Fabric Loom 1.14, Yarn mappings, Java 21, and split client source sets.
First-person short swords/axes, reduced Totem size, hidden shield model, and removed fire overlay.
Minimal particle enforcement while preserving vanilla potion-effect icons and timers.
Cached JSON configuration at
.minecraft/config/pvpboost.json.Optional compatibility suggestions for Sodium, Lithium, Starlight, FerriteCore, Entity Culling, ImmediatelyFast, and ModernFix.
README with recommended performance stack and configuration details.
The compilation failed with this error:
Compilation failed with 12 error(s):
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 5: cannot find symbol
import net.minecraft.client.option.Particles;
^
symbol: class Particles
location: package net.minecraft.client.option
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 9: cannot find symbol
import net.minecraft.item.ItemTags;
^
symbol: class ItemTags
location: package net.minecraft.item
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 14: cannot find symbol
if (config.reduceParticles && client.options.getParticles().getValue() != Particles.MINIMAL) {
^
symbol: variable Particles
location: class PvpBoostClient
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 15: cannot find symbol
client.options.getParticles().setValue(Particles.MINIMAL);
^
symbol: variable Particles
location: class PvpBoostClient
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 40: cannot find symbol
if (item.isIn(ItemTags.SWORDS) || item.isIn(ItemTags.AXES)) {
^
symbol: variable ItemTags
location: class HeldItemRendererMixin
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 40: cannot find symbol
if (item.isIn(ItemTags.SWORDS) || item.isIn(ItemTags.AXES)) {
^
symbol: variable ItemTags
location: class HeldItemRendererMixin
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 5: cannot find symbol
import net.minecraft.client.option.Particles;
^
symbol: class Particles
location: package net.minecraft.client.option
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 9: cannot find symbol
import net.minecraft.item.ItemTags;
^
symbol: class ItemTags
location: package net.minecraft.item
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 14: cannot find symbol
if (config.reduceParticles && client.options.getParticles().getValue() != Particles.MINIMAL) {
^
symbol: variable Particles
location: class PvpBoostClient
ERROR in src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java at line 15: cannot find symbol
client.options.getParticles().setValue(Particles.MINIMAL);
^
symbol: variable Particles
location: class PvpBoostClient
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 40: cannot find symbol
if (item.isIn(ItemTags.SWORDS) || item.isIn(ItemTags.AXES)) {
^
symbol: variable ItemTags
location: class HeldItemRendererMixin
ERROR in src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java at line 40: cannot find symbol
if (item.isIn(ItemTags.SWORDS) || item.isIn(ItemTags.AXES)) {
^
symbol: variable ItemTags
location: class HeldItemRendererMixin
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- Particles
- ItemTags
ACTION: Create these classes or check imports
FILES TO INVESTIGATE:
- src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java
- src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java
- src/main/java/client/java/com/kodari/pvpboost/PvpBoostClient.java
- src/main/java/client/java/com/kodari/pvpboost/mixin/HeldItemRendererMixin.java
Please fix this error by creating a new artifact with the corrected code.
Replace the removed particle enum import/reference with the 1.21.11
ParticleStatusAPI.Move
ItemTagsto its Yarn 1.21.11 registry-tag package.Keep the existing behavior unchanged and patch only the failing imports/references.
Fixed the compilation errors:
Replaced removed
ParticleswithParticleStatus.Updated
ItemTagsimport tonet.minecraft.registry.tag.ItemTags.Preserved minimal-particle enforcement and short weapon scaling behavior.
Patched the correct split-source-set paths under
src/client/java/.
The corrected artifact is ready for compilation.
package com.kodari.pvpboost;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.client.option.ParticleStatus;
public final class PvpBoostClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
PvpBoostConfig.load();
ClientTickEvents.END_CLIENT_TICK.register(client -> {
PvpBoostConfig config = PvpBoostConfig.get();
if (config.reduceParticles && client.options.getParticles().getValue() != ParticleStatus.MINIMAL) {
client.options.getParticles().setValue(ParticleStatus.MINIMAL);
}
});
}
}