Skip to content

Commit f721453

Browse files
committed
fix: load worldgen from vanilla data pack
1 parent 1031edc commit f721453

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

beet/contrib/vanilla.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
ResourcePack,
2929
UnveilMapping,
3030
)
31+
from beet.contrib.worldgen import worldgen
3132
from beet.core.utils import FileSystemPath, log_time
3233

3334
MANIFEST_URL: str = "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json"
@@ -52,6 +53,7 @@ def __init__(self, cache: Cache, path: FileSystemPath):
5253
self.path = Path(path)
5354
self.assets = ResourcePack()
5455
self.data = DataPack()
56+
worldgen(self.data)
5557

5658
def mount(
5759
self,

0 commit comments

Comments
 (0)