Minecraft.How
로딩 중...
본문으로 건너뛰기
Java 모드Performance

Redirected

제작 Txni

Redirected cuts memory allocation by stopping Minecraft from cloning enum value arrays in over 100 code paths. Runs on Fabric, Neoforge, and Forge for 1.21.1, 1.20.1, and 1.20. Required on both client and server.

저희 소개글

이 프로젝트가 하는 일

What Redirected does Minecraft creates a fresh copy of every enum's value array each time values() is called. That happens in hundreds of hot paths and adds up to a steady stream of short-lived garbage. Redirected patches those call sites so the original array is reused instead of cloned. The project targets over 100 locations in the game's code where this allocation occurs. The mod is a multiloader port of the older Redirector project. And it keeps the same optimization goal but fixes issues that remained in the original release. ## Who benefits Pack authors and server operators who run into memory pressure from allocation churn will see the most difference. The change is invisible to gameplay - no new blocks, commands, or config options - but it reduces the work the garbage collector has to do. On heavily modded instances where enum-heavy code runs constantly, that can smooth out GC spikes. ## Compatibility Redirected requires installation on both the client and the server. It supports three mod loaders: Fabric, Neoforge, and Forge. The declared Minecraft versions are 1.21.1, 1.20.1, and 1.20. No other versions are listed as supported. The license is GNU LGPL v3.0 only. There are no declared dependencies beyond the loader itself. ## What it doesn't claim The project description doesn't quote FPS gains, tick-time reductions, or specific memory savings numbers. But it states the optimization target - eliminating enum array clones - and the scope - over 100 patched locations. Treat any concrete performance figure as unverified unless you benchmark it yourself.

반응

반응하려면 로그인하세요.

호환성

버전과 로더

기록된 릴리스 4개

fabric-1.21.1-1.0.0

release

다운로드 (209 KB)

fabric-1.20.1-1.0.0

release

다운로드 (218 KB)

neoforge-1.21.1-1.0.0

release

다운로드 (212 KB)

forge-1.20.1-1.0.0

release

다운로드 (407 KB)

갤러리

Redirected icon

저희는 더 나은 이용 경험을 제공하기 위해 쿠키를 사용합니다. 이 사이트를 계속 이용하시면 쿠키 사용에 동의하는 것으로 간주됩니다. 개인정보 처리방침 보기