AtomicStryker's Battle Towers

AtomicStryker's Battle Towers

23M Downloads

Possible inter-compat issue with ruins and possibly JEID

Sunconure11 opened this issue ยท 6 comments

commented
commented

This crash points to an internal data structure apparently becoming null or having something such as net.minecraft.init.Blocks.AIR in it, though the point where the NPE happens is at access and not in generating the BlockState being asked for.

I have a fix in the MMD OreSpawn -dev builds that should, hopefully, fix this but I'm still not sure what is actually causing it.

commented

Ruins just happens to be in this log and is very unlikely to have anything to do with it, please do an issue in the appropriate repo

commented

Mobs? Ruins does not add any entities. It creates structures - which, in getting and setting world blocks across a template area, yes, do cause "cascading" worldgen.

commented

Oh wait... This is an event you are subscribed to.
atomicstryker.ruins.common.RuinsMod.onEntityEnteringChunk(RuinsMod.java:141)

That changes the question:
Does Minecraft always load a new chunk when an entity enters a new chunk or does it only do so because ruins needs a Chunk object to handle certain stuff whenever this happens?

commented

@AtomicStryker The question is, can your mobs load/generate new chunks and is this exceptional behaviour or can basically all mobs do this?

commented

How is an entity supposed to enter a chunk that isn't loaded? If i had to guess this was some kind of teleport causing chunk-entering and worldgen. Chunks should generate LONG before a player gets near them.