Mekanism 1.20.1 Radiation Manager Change
VestasSystem opened this issue ยท 1 comments
Describe
When using the Environment Detector in NeoForge 1.20.1 and Mekanism 10.4, the game crashes calling getRadiation()
. It looks like in the v10.4 release, Mekanism made breaking API changes for accessing the Radiation manager. It went from MekanismAPI.getRadiationManager()
to IRadiationManager.INSTANCE
. See this commit for the change.
Steps to reproduce
- Install NeoForge, Advanced Peripherals, and Mekanism
- Attach an Environment Detector to a Computer
- Run the following code in a program:
local ed = peripheral.wrap("environmentDetector_0")
ed.getRadiation()
Multiplayer?
LAN
Version
1.20.1-0.7.32b (Latest 1.20.1)
Minecraft, Forge and maybe other related mods versions
NeoForge 47.1.79 Minecraft 1.20.1
Screenshots or Videos
No response