Posted June 14, 201411 yr Hello, I want to generate a lot of chunks, and noticed that the saving is done through the event bus as idicated by the following code in AnvilChunkLoader: MinecraftForge.EVENT_BUS.post(new ChunkDataEvent.Save(par2Chunk, nbttagcompound)); As far as I understand, things in this EVENT_BUS don't happen right away, but I want it to happen right away so I don't run out of memory. So, how to force all the events in the EVENT_BUS?
June 14, 201411 yr Hi I think events in the bus do happen right away, because most of them return a success value to the caller. Try it and see perhaps? -TGG
June 14, 201411 yr Author Hi I think events in the bus do happen right away, because most of them return a success value to the caller. Try it and see perhaps? -TGG Reading the code a bit more, this seems to be true. Strange, that means that either the saving of a chunk happens REALLY fast (less than a millisecond), or does nothing at all...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.