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
1 parent 8ba0ae8 commit 10bec8e13a5fc78d4118050cb02eddd5e87a49f9
@vlad20012 vlad20012 authored on 12 Feb 2016
Showing 3 changed files
View
src/main/java/net/minecraft/world/WorldServer.java
View
src/main/java/net/minecraft/world/gen/ChunkProviderServer.java
View
src/main/java/org/ultramine/server/internal/UMHooks.java