Test: Added script to create a 500MB test world for testing memory usage.
500MB is around 10 gigs uncompressed.
This commit is contained in:
parent
1eddd43ec3
commit
a2daa220a8
11
make_huge_world.py
Normal file
11
make_huge_world.py
Normal file
@ -0,0 +1,11 @@
|
||||
import pymclevel
|
||||
from pymclevel.minecraft_server import MCServerChunkGenerator
|
||||
from pymclevel import BoundingBox
|
||||
import logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
gen = MCServerChunkGenerator()
|
||||
|
||||
half_width = 4096
|
||||
|
||||
gen.createLevel("HugeWorld", BoundingBox((-half_width, 0, -half_width), (half_width, 0, half_width)))
|
Reference in New Issue
Block a user