minecraft-bot/mosfet/info/mcdata.py

33 lines
624 B
Python
Raw Normal View History

import json
2020-12-01 00:48:02 +00:00
from munch import Munch
import minecraft_data
2020-12-14 04:27:06 +00:00
mcd = minecraft_data('1.16.4')
2020-12-14 05:40:17 +00:00
with open('minecraft_data/registries.json') as f:
DATA = json.load(f)
SINGLE_CHEST = 2
DOUBLE_CHEST = 5
2021-02-24 01:02:00 +00:00
VILLAGER_TRADE = 18
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,
),
2021-02-24 01:02:00 +00:00
VILLAGER_TRADE: Munch(
input1=0,
input2=1,
output=2,
inventory=list(range(3, 38)),
),
}