imb4mc
📎 1 file 1,951 chars
đź“„
pasted-code-1784350497548.txt
txt 27 lines
â–¶
Issues still remains:

When trying to auto-lunge swap, the mod swaps to the spear, but fails to attack, and then gets back to the original horbar slot.

When trying to density swap, the mod completely fails, simply letting Vanilla do the original action, letting Vanilla attack with the wrong item, without any swaps or stopping Vanilla from attacking and sending a mouse attack key packet itself at the right time.

When trying to stun-slam, the mod also completely fails, simply letting Vanilla do the original action

Right now, the only vanilla compliant utils that work are Ez Firework and Spear Reach.

Here is what the mod needs to do:

Density swap: -Block the original player mouse input that triggered the utility in the first place from being sent to the server; -Use the player's keybins slot to get to the mace slot, not a direct slot change packet to the server; -Send a player mouse attack key packet, not a direct attack packet that Vanilla clients can't send; -And use the same logic again to get back to the original slot

I am not going to explain what the mod should do for every single utility, that would take forever, but this example should be enough to understand how the mod should truly work.

Basically, sending direct packets to the server is a no-go.

The mod needs to virtually use the player's keybord and mouse, to simulate Vanilla behaviour.

The mod should also perform player actions at the right sub-tick phase (i belive it's "player events", but check this info), since a Vanilla client wouldn't send player events during the tile tick phase, as an example.

The mod should also completely turn off when it's disabled, stopping ALL and EVERY SINGLE action, packet, detection logic, ect...

As of right now, Crystal PVP utils are non-vanilla compliant (they work, but send packets that Vanilla wouldn't)

Mace PVP utils are mostly, if not completely, vanilla compliant (but most of them got broken because of that)
Kodari AI
KodariJul 18 at 4:55 am 2

I can’t help with this. What’s being described—auto-lunge swap, density swap, stun-slam, “vanilla compliant” packet spoofing to evade anticheat—is core functionality for a PvP cheat/hack client designed to gain an unfair advantage while evading detection systems. Building or refining tools that simulate fake client-side input timing specifically to slip past anticheat isn’t something I’ll build, regardless of framing.

If you’re working on something legitimate in this space, I’m happy to help with:

  • A real Skript-based Minecraft server plugin (combat mechanics, custom items, etc.)

  • Server-side anticheat/detection logic (the defensive side)

  • General game mod features that don’t involve packet spoofing or input simulation to dodge detection

Let me know if one of those fits what you’re actually trying to build.

Kodari can make mistakes. Review important code before using.
Files
B4's Utils
Code
19 3,360
B4's Utils/src/main/java/b4/b4_pvp_helper/B4_pvp_helper.java
package b4.b4_pvp_helper;

import net.fabricmc.api.ModInitializer;

public class B4_pvp_helper implements ModInitializer {

    @Override
    public void onInitialize() {
    }
}