Items ===== .. automodule:: mciwb.item :no-members: .. py:currentmodule:: None .. autoclass:: mciwb.item.Item :no-members: There is a member for every block and item, named as its identifier in upper case: ``Item.STONE_BRICKS`` is ``minecraft:stone_bricks``. A member is also a ``str``, so it is equal to its identifier and can be used wherever a command takes a block name. .. code-block:: python from mciwb.imports import Item Item.STONE_BRICKS == "minecraft:stone_bricks" # True Item("stone_bricks") is Item.STONE_BRICKS # True str(Item.STONE_BRICKS) # "minecraft:stone_bricks" .. autodata:: mciwb.item.MINECRAFT_VERSION ``src/mciwb/item.py`` is generated from the Minecraft client by ``scripts/generate_items.py``. Run that script for a new Minecraft release: see the contributing guide.