Package: mcwpy
Minecraft-Datapacks-GeneratorDescription:A new way of codingMinecraft.Minecraftis a game that you can play on your computer. It is a popular game for people who are interested in building their own worlds. And since a way to code the game itself has been implemented, I tried it. But it was not simple. So I decided to make a generator for theMinecraftDatapacks, so people can make their ownDatapackseasily, even though they still need to know Python until I can make it look likeScratchor something this easy.Installation:First of all make sure you have one of the latestPythonversion installed on your computer.Ensure you also havepipinstalled: try running the command "pip3 -V" in a terminal.If this gets you an error message followthese stepsto install it.Once you havePythonandpipinstalled, run the command: "pip3 install mcwpy".Usage:Now you should be able to import the library in your newPythonprograms you can use the project below to help you get started with the library:frommcwpyimport*Create and compile your own datapack.Once the datapack is generated, paste it in thedatapacksfolder of yourMinecraftworld.Type/reloadto load the datapack.Have fun playing with your brand new handmade datapack!Example:frommcwpyimport*# Since this is still in development, this should only print "Hello from the MCWPy community :)".Contributing:If you want to contribute to this project, you can do so by forking it and sending a pull request, I am opened to any idea and contribution.Credits:Thanks to@theskyblockmanfor the idea of using workspaces.0.0.13 (2021/08/06)Added a check to verify whether the Minecraft Workspace can be automatically created.Added a function to remove directories.Added__format__representation for Datapack objects.Changed code encryption fromutf-8toascii.Changed the way the Datapack folder is ziped.Changed replacement of older versions of the Datapack folder.Changed the Font class to a dataclass.Updated the.gitignorefile to ignore the generated test files.Removed unused import indatapack.py.0.0.12 (2021/07/31)Addedutility.pyto the library for tools that can be useful for other modules.Made the Datapack compilation delete the old Datapack folder if authorized.Made the library inform the user where the Datapack folder by default is.Changedansi_escape_sequence.pyintoutility.py.0.0.11 (2021/07/30)Added many more tests todatapack.py.Made Datapacks iterable by going through their Workspaces.UpdatedCHANGELOG.mdway of displaying additions(+), changes(*)and removals(-).Updated the way to do the tests.0.0.10 [0.0.9, 0.0.8] (2021/07/30)Fixed library import issues -datapack.pywas not importingworkspace.pywith relative imports.0.0.7 (2021/07/30)Addedrequests==2.26.0toREQUIREMENTS.txt.Addedtests.pyin which unit tests are and will be written.Addedworkspace.pyto create the classWorkspacewhich handles theDatapackworkspaces.Wrote several tests for theDatapackclass (datapack.py).Improved theREADME.md.Improved theDatapack'sworkspacesdefault attribute.Removedtest.py.0.0.6 (2021/07/29)Now printing the library version when imported.Fixed version0.0.5by using relative imports.0.0.5 (2021/07/29)Fixed version0.0.4by removing inputs insetup.py.Updatedverify_setup.pyto check if the display format is correct.0.0.4 (2021/07/29)Added ANSI escape sequences to the output for prettier messages (ansi_escape_sequences.py).Added an automatic version code for Datapacks with unspecified versions.Addedverify_setup.pyto check if the package can be created.Changed warnings to be easier to read.Version0.0.3did not work so MCWPy will be developed without subfolders.0.0.3 (2021/07/29)Attempt to use subfolders...If creating a Datapack using the MCWPy library works then it is a success.0.0.2 (2021/07/28)Made the library check if is running onPython3.9.5or above.0.0.1 (2021/07/28)Fixed (or tried to)CHANGELOG.md,LICENSEandREADME.mdlooks onpypi.org.Initial (2021/07/28)Created asetup.pyfile to setup the library.Created two functions to add or substract numbers together.Createdmcwpy\__init__.py.CreatedREQUIREMENTS.txt.WroteLICENSE.WroteMANIFEST.md.WroteREADME.md.Usedpython3 setup.py sdistin a terminal to create the library's first package.Usedtwine upload --repository-url https://upload.pypi.org/legacy/ dist/*to upload the library's first package on pypi.