2020-09-21 01:08:23 +00:00
|
|
|
import json
|
2020-12-01 00:48:02 +00:00
|
|
|
from munch import Munch
|
2020-09-21 01:08:23 +00:00
|
|
|
|
|
|
|
import minecraft_data
|
|
|
|
|
2020-12-14 04:27:06 +00:00
|
|
|
mcd = minecraft_data('1.16.4')
|
2020-09-21 01:08:23 +00:00
|
|
|
|
2020-12-14 05:40:17 +00:00
|
|
|
with open('minecraft_data/registries.json') as f:
|
2020-09-21 01:08:23 +00:00
|
|
|
DATA = json.load(f)
|
|
|
|
|
|
|
|
SINGLE_CHEST = 2
|
|
|
|
DOUBLE_CHEST = 5
|
2021-02-24 01:02:00 +00:00
|
|
|
VILLAGER_TRADE = 18
|
2020-09-21 01:08:23 +00:00
|
|
|
|
|
|
|
WINDOWS = {
|
2020-12-01 00:48:02 +00:00
|
|
|
SINGLE_CHEST: Munch(
|
2020-09-21 01:08:23 +00:00
|
|
|
container=list(range(0, 27)),
|
|
|
|
inventory=list(range(27, 63)),
|
|
|
|
slot_diff=18,
|
|
|
|
),
|
2020-12-01 00:48:02 +00:00
|
|
|
DOUBLE_CHEST: Munch(
|
2020-09-21 01:08:23 +00:00
|
|
|
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)),
|
|
|
|
),
|
2020-09-21 01:08:23 +00:00
|
|
|
}
|