Forge Render Event Hitbox Expander
Minecraft Gameplay Impact
Subscribes to Forge render bus events (RenderPlayerEvent, RenderLivingEvent) to overwrite entity bounding boxes every time the game renders an entity.
Functions & APIs Analyzed
RenderPlayerEvent.Pre
Forge event fired before rendering a player model.
Entity.setBoundingBox
Modifies player bounding box inside the event listener.
Mod Implementation (Dev Source / Mapped)
// Developer Source (Forge Event listener)
@SubscribeEvent
public void onRenderPlayer(RenderPlayerEvent.Pre event) {
Player player = event.getEntity();
if (player != Minecraft.getInstance().player) {
player.setBoundingBox(player.getBoundingBox().inflate(0.4));
}
}
Decompiled Representation (Vineflower View)
// Decompiled with Vineflower 1.12 (Forge mappings)
@SubscribeEvent
public void onRenderPlayer(RenderPlayerEvent.Pre event) {
Player player = event.getEntity();
if (player != Minecraft.getInstance().player) {
player.setBoundingBox(player.getBoundingBox().inflate(0.4));
}
}
Bytecode Signature & Static Detection
Matches references to RenderPlayerEvent or RenderLivingEvent combined with Entity.setBoundingBox.