Advanced Peripherals

Advanced Peripherals

29M Downloads

Mekanism 1.20.1 Radiation Manager Change

VestasSystem opened this issue ยท 1 comments

commented

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

  1. Install NeoForge, Advanced Peripherals, and Mekanism
  2. Attach an Environment Detector to a Computer
  3. 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

Crashlog/log

https://pastebin.com/u6qVhiUU

commented

I've tested the 0.7.34b version on Modrinth and it has resolved the issue. Thank you!