1.21.1-NeoForge-Unusual End Bug Fixes-1.1.1
Curse Maven Snippet
What's new
1.1.1
- Critical Random Fallback Teleport Desync Fix (1.21.1):
- Fixed
UnusualEndForgeEvents#onPlayerTickgenerating two completely different random[-1000, 1000]coordinates when a Teleportation Anchor is missing (one forplayer.teleportTo(...)and a second unrelated roll forServerPlayer.connection.teleport(...)), which desynced server and client positions by up to 2,000 blocks. The client packet now syncs the exact post-teleportToserver coordinates.
- Fixed
- Client Fog Provider Leak & Frame Optimization:
- Fixed
GloopyFogProcedureholding a static reference toViewportEvent.RenderFogafter each render frame (preventing client memory leaks), cached biomeResourceLocationkeys, and merged duplicate per-frame biome lookups.
- Fixed
- Worldgen StructureFeature Hardening:
- Fixed
StructureFeature#placemissingserver != nullguards, usinggetOrCreate(...)(caching empty templates on missing files), omittingMirror.FRONT_BACK(random.nextInt(2)), and lacking 3×3WorldGenRegionbounding-box clamping.
- Fixed
- Dynamic Random Loop-Bound & Harvest Sound Fixes:
- Fixed
BreakEggProcedure,EnderbulbEntity#die, andOvergrownWarpedVineOnBlockRightClickedProcedurere-evaluatingMth.nextInt(RandomSource.create(), min, max)on everyfor-loop iteration, skewing spawn/drop counts; moved block destruction/setBlock cleanly to the server and fixed the unreachable server berry-pick broadcast sound.
- Fixed
版本 1.1.1
- 严重随机回退传送双端撕裂修复(1.21.1):
- 修复
UnusualEndForgeEvents#onPlayerTick在传送锚点失效触发随机回退传送时,先随机一组[-1000, 1000]坐标调用player.teleportTo(...),又紧接着重新随机另一组完全不同的坐标调用ServerPlayer.connection.teleport(...),导致服务端与客户端位置严重撕裂(最多相差 2,000 格)的严重缺陷;改为直接同步服务端刚落定的精确坐标。
- 修复
- 客户端雾效静态引用泄漏与每帧优化:
- 修复
GloopyFogProcedure在RenderFog回调结束后静态provider永不置空导致的客户端内存泄漏,同时缓存群系ResourceLocation、前置配置开关判断并合并每帧重复的群系查询。
- 修复
- 世界生成
StructureFeature加固:- 修复
StructureFeature#place缺少服务端非空校验、使用getOrCreate(...)污染空模板缓存、随机镜像写死random.nextInt(2)遗漏FRONT_BACK,以及缺少WorldGenRegion3×3 区块裁剪框的问题。
- 修复
- 动态随机循环边界与浆果采摘音效修复:
- 修复
BreakEggProcedure、EnderbulbEntity#die与OvergrownWarpedVineOnBlockRightClickedProcedure在for循环条件中每轮重新掷骰Mth.nextInt(RandomSource.create(), min, max)导致生成/掉落数量概率偏移的问题;将方块破坏/替换统一收敛至服务端,并修复采摘诡异藤浆果时服务端广播音效永不触发的问题。
- 修复
This mod has no additional files

