No description
Find a file
Yamayaki 22235d3c41
All checks were successful
build-commit / build (push) Successful in 57s
IJ: Only slow down movement when hovering
2026-04-12 15:59:48 +02:00
.forgejo/workflows Functional Storage: Backport 7f85ac0eb4 2026-04-02 00:06:04 +02:00
gradle/wrapper Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
src/main IJ: Only slow down movement when hovering 2026-04-12 15:59:48 +02:00
.editorconfig Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
.gitattributes Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
.gitignore Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
build.gradle Iron Jetpack slowdown. 2026-04-09 20:24:24 +02:00
gradle.properties Bump version 2026-04-12 12:15:03 +02:00
gradlew Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
gradlew.bat Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
README.md Rename + add performance improvements for other mods. 2025-06-06 19:59:39 +02:00
settings.gradle Functional Storage: Backport 7f85ac0eb4 2026-04-02 00:06:04 +02:00

BURNOUT Utils for Forge

Fixes a memory leak when using the RFTools Builder block and the Ore Excavation mod. Besides other stuff.

Tested on:

  • Minecraft Forge version 1.20.1-47.2.17
  • RF Tools Builder version 1.20-6.0.3
  • Ore Excavation version 1.13.170

Memory leak fix?

The builder block uses Forge's fake player functionality to mimic a player when breaking blocks. The FakePlayer object holds a dummy net.minecraft.network.Connection instance that is normally used for processing and queuing packets for normal players. Normally, Ore Excavation sends data related to block breaking to a player's client to display an overlay, but in the case of a fake player, a packet is just added to the queue in the dummy connection instance.

The catch is that the queue never gets cleared by Minecraft or Forge, so any data not processed is staying forever in the connection's queue.

When using BURNOUT Utils, it is first checked if the player owning that connection is real or a fake one. If it is fake, packets are not added to the connection's queue.

🧰 Building from sources

BURNOUT Utils requires you to have at least JDK 17 installed. To build the project, run the following command in the project's root directory: ./gradlew build. If you don't want gradle to leave a daemon after building the project, append the --no-daemon flag.

🧑‍🤝‍🧑 Credits

Development environment configuration is copied from Spottedleafs Starlight mod