minecraft-bot/data.py

26 lines
470 B
Python
Raw Normal View History

import json
2020-12-01 00:48:02 +00:00
from munch import Munch
import minecraft_data
mcd = minecraft_data('1.16.2')
with open('mcdata/registries.json') as f:
DATA = json.load(f)
SINGLE_CHEST = 2
DOUBLE_CHEST = 5
WINDOWS = {
2020-12-01 00:48:02 +00:00
SINGLE_CHEST: Munch(
container=list(range(0, 27)),
inventory=list(range(27, 63)),
slot_diff=18,
),
2020-12-01 00:48:02 +00:00
DOUBLE_CHEST: Munch(
container=list(range(0, 54)),
inventory=list(range(54, 90)),
slot_diff=45,
),
}