Skip to content

Commit f616c41

Browse files
Add Bedrock v42 interface (#434)
1 parent 9217a73 commit f616c41

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from __future__ import annotations
2+
3+
from .leveldb_41 import (
4+
LevelDB41Interface as ParentInterface,
5+
)
6+
7+
8+
class LevelDB42Interface(ParentInterface):
9+
chunk_version = 42
10+
11+
def __init__(self):
12+
super().__init__()
13+
14+
15+
export = LevelDB42Interface

amulet/level/formats/leveldb_world/interface/chunk/leveldb_chunk_versions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
# continue without experimental gameplay
5151
39: ((1, 18, 0, 0), (1, 18, 29, 999)),
5252
40: ((1, 18, 30, 0), (1, 21, 31, 999)),
53-
41: ((1, 21, 40, 0), (999, 999, 999, 999)),
53+
41: ((1, 21, 40, 0), (1, 21, 139, 999)),
54+
42: ((1, 21, 120, 0), (999, 999, 999, 999)),
5455
} # TODO: fill this list with the actual last game version number each chunk version was last used in
5556

5657

0 commit comments

Comments
 (0)