Skip to content

Commit 694de5b

Browse files
committed
Release 2.89.2
1 parent 6b816dd commit 694de5b

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021 Romain Beaumont and contributors
3+
Copyright (c) 2021 N. Vito Gamberini and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

doc/history.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.89.2
2+
* Update minecraft-data to 2.89.2
3+
* Add following data: blockStates, blockB2J, blocksJ2B
4+
15
## 2.85.1
26
* Update minecraft-data to 2.85.1
37

example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
print(mcd.effects_name['Haste'])
1515

16-
# Pocket Edition minecraft-data
17-
mcd_pe = minecraft_data("1.0", "pe")
16+
# Bedrock Edition minecraft-data
17+
mcd_pe = minecraft_data("1.0", "bedrock")
1818

1919
print(mcd_pe.version)
2020
print(mcd_pe.find_item_or_block('stone'))

minecraft_data/data

Submodule data updated 115 files

minecraft_data/tools.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ def convert(_dir, version, edition ='pc'):
1010
ret = {}
1111
for datum in ('recipes', 'materials', 'protocol', 'version',
1212
'blockCollisionShapes', 'protocolComments', 'loginPacket',
13-
'commands', 'tints'):
13+
'commands', 'tints', 'blockB2J', 'blocksJ2B'):
1414
if datum in data:
1515
ret[datum] = data[datum]
16+
if 'blockStates' in data:
17+
ret['blockStates'] = _by_name(data['blockStates'])
18+
ret['blockStates_list'] = data['blockStates']
1619
for datum in ('blocks', 'items', 'windows', 'effects', 'particles',
1720
'biomes', 'instruments', 'enchantments', 'foods', 'mapIcons'):
1821
if datum in data:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def package_files(directory):
2020
description='Provide easy access to minecraft data in python',
2121
license='MIT',
2222
long_description=open('README.rst').read(),
23-
version='2.85.1',
23+
version='2.89.2',
2424
maintainer='Vito Gamberini',
2525
maintainer_email='[email protected]',
2626
url='https://github.com/SpockBotMC/python-minecraft-data',

0 commit comments

Comments
 (0)