Cloudburst icon indicating copy to clipboard operation
Cloudburst copied to clipboard

[2.0] Unimplemented Daylight Detector block entity

Open squeeglii opened this issue 4 years ago • 3 comments

Expected Behavior

The Java 1.12.2 world is expected to convert and then run on the server. If there was a problem with the world file, surely it could have some meaningful error to an end-user or (if it was a specific block) the offender could be removed during conversion.

Actual Behavior

I've only run into this crash on this specific world so it's a minor issue. Forge has been used with this world, however, it has only ever had worldedit on it, thus it shouldn't be an issue with modded blocks or entities.

The server logs the chunks being converted and such and then it just exits without any information. Checking the latest log, it reveals an IllegalStateException caused by a NullPointerException (Thrown by a checknotnull).

Starting the server again, it begins to try to convert the level again, failing every time.

Steps to Reproduce

Load the attached world below onto a server and start the server.

Crashdump, Backtrace or Other Files

Checklist:

  • [x] I made sure there aren't duplicates of this report (Use Search)
  • [x] I made sure I am using an up-to-date version of Nukkit
  • [x] I Made sure the bug/error is not caused by a plugin

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

squeeglii avatar Apr 11 '20 14:04 squeeglii

It's not working because NukkitX 2.0 has no implemented DaylightDetectors, if you really want to use this map try to use mcctoolchest and delete them.

Extollite avatar Apr 11 '20 17:04 Extollite

We should at least implement the base daylight detector block entity so that the world can be loaded without an error.

SupremeMortal avatar Apr 11 '20 17:04 SupremeMortal

So we decided to worldedit all the daylight sensors away for the time being, however, we're still running into the exact same error. I did an MCEdit analysis and we now only have these tile entities: analysis

world log

squeeglii avatar Apr 13 '20 10:04 squeeglii