Just a small mod i spent way to long making (asking in the neoforge discord) that has a single mixin that makes the ae2 wireless access points calculate range correctly when on sable sublevels
how it works cause I think its lowk really cool
the mixin modifies the "WirelessTerminalMenuHost" class from ae2 and specifically modifies the value of "IWirelessAccessPoint.getLocation()" whenever its called from the "getAccessPointSignal" method, it takes the coordinates that method outputs and inputs it in "SableCompanion.INSTANCE.projectOutOfSublevel()" which if those coords are normal coords does nothing and if they are sublevel coords it projects it out of the sublevel, then it converts those coords into integers (its not perfectly precise but thats what the original output uses) and returns a new "Dimensional block pos" with the converted coords, which if its not on the sublevel just returns what it usally would (a "DimensionalBlockPos" with the coords of the wireless access point), but if it is on a sublevel it converts it to the right position and returns a DimensionalBlockPos with the projected coords
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
AE2 Sable Wireless Access Points 1MILLION.4.0 1MILLION.4.0 |
1.21.1
|
neoforge
|
Download |