Auto Respawn Anchor Exploder

Auto_Anchor Combat HIGH +8 score

🎮 Minecraft Gameplay Impact

Automates Respawn Anchor crystal PvP mechanics. In Overworld PvP, placing a Respawn Anchor, loading it with Glowstone, and interacting with an empty hand causes a catastrophic explosion equivalent to charged TNT. This cheat executes all 3 actions within a single tick.

🔍 Functions & APIs Analyzed

ClientPlayerInteractionManager.interactBlock

Interacts with targeted block (method_2896) to place anchor, charge glowstone, and detonate.

Blocks.RESPAWN_ANCHOR

Block identifier constant (field_22144) for anchor detection and placement.

Items.GLOWSTONE

Item identifier constant (field_8829) for charging the anchor.

💻 Mod Implementation (Dev Source / Mapped)

// Developer Source (Fabric / Yarn mappings)
public class AnchorExploder {
    public static void detonate(MinecraftClient client, BlockPos pos) {
        selectItem(client, Items.RESPAWN_ANCHOR);
        client.interactionManager.interactBlock(client.player, Hand.MAIN_HAND, new BlockHitResult(Vec3d.ofCenter(pos), Direction.UP, pos, false));
        selectItem(client, Items.GLOWSTONE);
        client.interactionManager.interactBlock(client.player, Hand.MAIN_HAND, new BlockHitResult(Vec3d.ofCenter(pos), Direction.UP, pos, false));
        selectItem(client, Items.AIR);
        client.interactionManager.interactBlock(client.player, Hand.MAIN_HAND, new BlockHitResult(Vec3d.ofCenter(pos), Direction.UP, pos, false));
    }
}

⚙️ Decompiled Representation (Vineflower View)

// Decompiled with Vineflower 1.12 (Intermediary mappings)
public class AnchorExploder {
    public static void detonate(class_310 client, class_2338 pos) {
        selectItem(client, class_2246.field_23152); // RESPAWN_ANCHOR
        client.field_1761.method_2896(client.field_1724, class_1268.field_5808, new class_3965(class_243.method_24954(pos), class_2350.field_11036, pos, false));
        selectItem(client, class_1802.field_8801); // GLOWSTONE
        client.field_1761.method_2896(client.field_1724, class_1268.field_5808, new class_3965(class_243.method_24954(pos), class_2350.field_11036, pos, false));
        client.field_1761.method_2896(client.field_1724, class_1268.field_5808, new class_3965(class_243.method_24954(pos), class_2350.field_11036, pos, false));
    }
}

🛡️ Bytecode Signature & Static Detection

Detects references to RESPAWN_ANCHOR (field_23152 / field_22144) and GLOWSTONE (field_8801 / field_8829) paired with ClientPlayerInteractionManager.interactBlock (method_2896).