Entity Loop Hitbox Expander

Hitbox_Iterate_Entities Hitbox HIGH +9 score

🎮 Minecraft Gameplay Impact

Runs an automated tick loop across all loaded client entities and updates every remote player's bounding box to expanded dimensions, keeping hitboxes perpetually enlarged regardless of server resets.

🔍 Functions & APIs Analyzed

ClientWorld.getEntities

Enumerates all loaded world entities (method_18112).

Entity.setBoundingBox

Replaces vanilla bounding box with inflated coordinates.

💻 Mod Implementation (Dev Source / Mapped)

// Developer Source (Fabric / Yarn mappings)
public class LoopExpander {
    public static void tick(MinecraftClient client) {
        for (Entity e : client.world.getEntities()) {
            if (e instanceof PlayerEntity && e != client.player) {
                e.setBoundingBox(e.getBoundingBox().expand(0.5));
            }
        }
    }
}

⚙️ Decompiled Representation (Vineflower View)

// Decompiled with Vineflower 1.12 (Intermediary mappings)
public class LoopExpander {
    public static void tick(class_310 client) {
        for (class_1297 e : client.field_1687.method_18112()) {
            if (e instanceof class_1657 && e != client.field_1724) {
                e.method_5857(e.method_5829().method_1009(0.5));
            }
        }
    }
}

🛡️ Bytecode Signature & Static Detection

Identifies loops iterating over world entities calling Entity.setBoundingBox inside a tick handler.