Client-Side Ghost Block Spoofer

Ghost_Block_Air_Spoof Exploits HIGH +8 score

🎮 Minecraft Gameplay Impact

Directly overrides client world blocks with Blocks.AIR without server synchronization, allowing the player to look or phase through solid walls and terrain client-side.

🔍 Functions & APIs Analyzed

ClientWorld.setBlockState

Sets block state on the client without sending packets to server.

Blocks.AIR.getDefaultState

Default air block state used to clear solid voxels.

💻 Mod Implementation (Dev Source / Mapped)

// Developer Source (Fabric / Yarn mappings)
public class GhostBlock {
    public static void makeGhost(ClientWorld world, BlockPos pos) {
        world.setBlockState(pos, Blocks.AIR.getDefaultState(), 19);
    }
}

⚙️ Decompiled Representation (Vineflower View)

// Decompiled with Vineflower 1.12 (Intermediary mappings)
public class GhostBlock {
    public static void makeGhost(class_638 world, class_2338 pos) {
        world.method_8652(pos, class_2246.field_10124.method_9564(), 19);
    }
}

🛡️ Bytecode Signature & Static Detection

Matches ClientWorld.setBlockState (method_8652) with Blocks.AIR (field_10124) inside the same method.