Links
Tags
Creators
Details
Licensed MIT
Published 4 months ago
Updated 4 months ago
All versions
v1.1
Release
Aeronautics Display Link Fix 1.14 months ago 39
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Server-side
Client and server
Required content
Any compatible version
Any compatible version
Any compatible version
Changes
v1.1 - 双层判定修复
修复
- 修复 Case 3:当显示链接器(Display Link)与告示牌在同一飞行器上同步物理化/反物理化时,TargetOffset 被错误变换为世界坐标级大偏移的问题
- 采用双层判定逻辑,同时覆盖正向(方块→物理化)和反向(物理化→方块)组装方向
- 避免误判正常的 Case 1(告示牌在地面)和 Case 2(告示牌在另一飞行器)场景
技术细节
- TargetOffset 读取方式从
@Local字节码索引改为从 NBT tag 直接读取(tag.getInt("x/y/z")),消除编译差异风险 - 移除 Mixin 内部类
SavedCase3,改用三组平行ThreadLocal列表,避免 Mixin 包隔离限制导致IllegalClassLoadError - 修正
registryAccess从源世界改为目标世界(dest.registryAccess())
v1.1 - Two-Layer Detection Fix
Fixed
- Fixed Case 3: DisplayLink's TargetOffset was incorrectly transformed into world-scale coordinates when the DisplayLink and its sign are on the same contraption
- Two-layer detection covers both forward (blocks→physics) and reverse (physics→blocks) assembly directions
- Correctly excludes normal Case 1 (sign on ground) and Case 2 (sign on different contraption) scenarios
Technical
- TargetOffset now read from NBT tag directly (
tag.getInt("x/y/z")) instead of@Localbytecode indexing - Removed inner class
SavedCase3, replaced with three parallelThreadLocallists to avoid Mixin package isolationIllegalClassLoadError - Fixed
registryAccessfrom source level to destination level (dest.registryAccess())
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Cgz0OfnH:j1I5BEUN"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Cgz0OfnH:j1I5BEUN"
}

