Improve Structures Checking
Improves performance by keying every chunk thats part of a structure to a hashmap instead of only the first one. This allows us to avoid iterating the entire structures value set to see if a block position is inside of a structure. This should have pretty decent performance improvement to any standard world that has been around for a whilewith lots of structures due to ineffeciencies in how MC stores structures (even unloaded chunks has structured data loaded)
This commit is contained in:
parent
e04bef9785
commit
0f2c274998
5 changed files with 223 additions and 20 deletions
|
@ -93,6 +93,9 @@ import PlayerConnectionUtils
|
|||
import RegionFile
|
||||
import RegistryBlockID
|
||||
import RemoteControlListener
|
||||
import StructureBoundingBox
|
||||
import StructurePiece
|
||||
import StructureStart
|
||||
import TileEntityEnderChest
|
||||
import TileEntityLootable
|
||||
import WorldGenStronghold
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue