In the latest version of mcipc there have been some changes to behaviour of Item.
I could fix my code to work with the new behaviour but I'd like to understand if these are intentional.
# pip install mcipc==2.3.8 rcon==2.2.1
In [2]: str(Item.AIR)
Out[2]: 'minecraft:air'
In [3]: Item("minecraft:air")
ValueError: 'minecraft:air' is not a valid Item
In [4]: Item("air")
Out[4]: <Item.AIR: 'air'>
#pip install mcipc==2.4.0 rcon==2.3.1
In [2]: str(Item.AIR)
Out[2]: 'Item.AIR'
In [3]: Item("minecraft:air")
Out[3]: <Item.AIR: 'minecraft:air'>
In [4]: Item("air")
ValueError: 'air' is not a valid Item
In the latest version of mcipc there have been some changes to behaviour of Item.
I could fix my code to work with the new behaviour but I'd like to understand if these are intentional.