Added PendingBlockUpdates and EntityFallingBlock processing and EntityItem removal after chunk populating
Newly populated chunk contains lots of PendingBlockUpdate and EntityFallingBlock, that takes lot of memory. PendingBlockUpdate processing causes more EntityFallingBlock spawning. In its turn, processing of EntityFallingBlock causes PendingBlockUpdate scheduling again. It solves by multiple iterations of processing both PendingBlockUpdate and EntityFallingBlock. Finally, we removing any EntityItem, that may be spawned at that time |
---|
|
src/main/java/net/minecraft/world/WorldServer.java |
---|
src/main/java/net/minecraft/world/gen/ChunkProviderServer.java |
---|
src/main/java/org/ultramine/server/internal/UMHooks.java |
---|