CyclopsMC / IntegratedDynamics

A Minecraft mod to take full and automated control of your appliances.
http://cyclopsmc.github.io/IntegratedDynamics/
MIT License
129 stars 61 forks source link

crash when using pipes to power a machine in immersive engineering #1277

Closed TNWanderer closed 1 year ago

TNWanderer commented 1 year ago

Issue type:


Short description:

Minecraft crashes when attempting to place energy exporter on a machine that reqires power

Steps to reproduce the problem:

  1. required mod Immersive engineering
  2. when placing a exergy exporter on the excavator game immediately crashes. however on at least one machine in mod works as intended.
  3. submitted bug report with other mod earlier. Dev indicated possibly on this mod's end

Expected behaviour:

expected power to work instead it turned off minecraft.


Versions:

Log file:

https://gist.github.com/TNWanderer/608ad47055a28114a94354b12927f7fa

rubensworks commented 1 year ago

Thanks for reporting!

rubensworks commented 1 year ago

I suspect this is a problem on IE's end, more specifically inside the implementation of the excavator's block entity (getCapability).

The only thing ID is doing, is invoking blockEntity.getCapability() for the PartContainer capability of ID. And for some reason, IE is returning MutableEnergyStorage.

Closing this issue for now, but feel free to comment back here if the IE mod author is certain ID is doing something wrong. (but I would be surprised, since this part of our code has been the same for many years)

TNWanderer commented 1 year ago

No this is ie's issue, I just noticed yesterday that anyblock placed at that position other then a wire link or the creative accumulator block will cause a crash.

rubensworks commented 1 year ago

Ok, thanks for the update!