![]() count ) # NoneĪll the attributes can be set in the constructor. namespaces ) # defaultdict(, print ( recipe. description ) # 'Test description.' print ( pack. from mcpack import DataPack pack = DataPack ( 'Test', 'Test description.' ) print ( pack. ![]() The DataPack class represents a minecraft data pack. $ pip install mcpackĬheck out the examples for a quick overview. Make sure that you're using python 3.7 or above. dump ( '.minecraft/saves/New World/datapacks' ) Installation from mcpack import DataPack, Function pack = DataPack ( 'My cool pack', 'This is the description of my pack.' ) pack = Function ( 'say Hello, world! \n ' 'give minecraft:dead_bush \n ' ) pack. ⚠️ THIS PROJECT IS DEPRECATED ⚠️ Please migrate to Ī python library for programmatically creating and editing Minecraft data packs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |