A library for creating and editing Minecraft items using python.


Keywords
minecraft, item, block, nbt
License
MIT
Install
pip install mcitemlib==0.4.3

Documentation

mcitemlib

A library for creating and editing Minecraft items using python.

Method List

Class Methods

  • from_tag
  • from_snbt

General

  • get_id
  • get_count
  • get_durability
  • get_name
  • set_id
  • set_count
  • set_durability
  • set_name

Lore

  • get_lore
  • set_lore

Enchantments

  • get_enchantments
  • set_enchantments

Shulker Boxes

  • get_shulker_box_contents
  • set_shulker_box_contents

Books

  • get_book_text
  • get_book_author
  • get_book_title
  • set_book_text
  • set_book_author
  • set_book_title

Other

  • get_component
  • set_component
  • get_snbt