Neruina - Ticking Entity Fixer

Neruina - Ticking Entity Fixer

19M Downloads

Mod kills ships from Small Ship's mod while scrolling inventory.

Magmabot16 opened this issue ยท 4 comments

commented

While playing Prominence II, this mod has deleted my ships multiple times. The steps to replicate the issue I'm experiencing are simple enough: get in a spruce brigg, go into the brigg's inventory, scroll between inventory screens.
2023-10-22_09 45 40

commented

Neruina deleting entities is intended behaviour, it's designed to stop your world from bricking, if Neruina didn't kill that entity, you would be locked out of your world.
Report this to the developer of the mod that adds the Brigg entity.

commented

alright I'll send them a report

commented

Hi there, Ive done some more testing and I can confirm theres no ticking entity crash without neurina, and i believe it to be a false positive. Is there plans for a whitelist?

commented

Neruina cannot false positive, it is functionally impossible.
Neruina catches error propagation right before the Minecraft crash sequence begins, if Neruina doesn't catch the propagating error, the game will crash, every time.

Code analysis if you're not convinced

this method here is what runs minecraft's entity ticking.

that operation.call is the reference to tickConsumer.accept(entity), they are the same method in a sense.

Screenshot 2023-11-04 at 18 50 42

if Neruina does not catch the throwable first, it gets passed to the crash report creator, which crashes the game.