Extreme Constant Hitbox Inflation

Hitbox_Hardcoded_Box Hitbox HIGH +9 score

🎮 Minecraft Gameplay Impact

Instantiates hardcoded Box instances with extreme numeric expansion constants (>10.0 blocks), expanding hitboxes across entire arenas to hit opponents through walls from immense distances.

🔍 Functions & APIs Analyzed

Box.<init>

Constructs new 3D axis-aligned bounding box coordinates.

Entity.setBoundingBox

Applies the oversized bounding box to target entities.

💻 Mod Implementation (Dev Source / Mapped)

// Developer Source (Fabric / Yarn mappings)
public class GiantHitbox {
    public static void apply(Entity entity) {
        entity.setBoundingBox(new Box(
            entity.getX() - 15.0, entity.getY(), entity.getZ() - 15.0,
            entity.getX() + 15.0, entity.getY() + 2.0, entity.getZ() + 15.0
        ));
    }
}

⚙️ Decompiled Representation (Vineflower View)

// Decompiled with Vineflower 1.12 (Intermediary mappings)
public class GiantHitbox {
    public static void apply(class_1297 entity) {
        entity.method_5857(new class_238(
            entity.method_23317() - 15.0, entity.method_23318(), entity.method_23321() - 15.0,
            entity.method_23317() + 15.0, entity.method_23318() + 2.0, entity.method_23321() + 15.0
        ));
    }
}

🛡️ Bytecode Signature & Static Detection

Matches Entity.setBoundingBox calls featuring float or double constant pool values >= 10.0.