Giter Site home page Giter Site logo

lizelive / amulet-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amulet-team/amulet-core

0.0 2.0 0.0 26.8 MB

A Python library for reading and writing the Minecraft save formats. See Amulet for the actual editor.

Home Page: https://www.amuletmc.com/

Python 99.84% Makefile 0.07% Batchfile 0.09%

amulet-core's Introduction

Amulet Core

Build Unittests Stylecheck Documentation

A Python 3 library to read and write data from Minecraft's various save formats.

This library provides the main world editing functionality for Amulet Map Editor

If you are looking for the actual editor it can be found at Amulet Map Editor

Documentation

Our online documentation can be found here: https://amulet-core.readthedocs.io

Installing

  1. Install Python 3.7
  2. We recommend setting up a python virtual environment so you don't run into issues with dependency conflicts.
  3. run pip install amulet-core to install the library and all its dependencies.

Dependencies

This library uses a number of other libraries. These will be automatically installed when running the command above.

Contributing

For Development

run pip install -r requirements-dev.txt This command will install the following libraries which will be required if you plan to contribute code to the project.

For information about contributing to this project, please see the contribution section below

Code Formatting

For code formatting, we use the formatting utility black. To run it, run the following command from your favorite terminal after installing: black amulet tests

In order for your pull request to be accepted, this command must be run to format every file.

Building the Documentation

To build the documentation locally, run the following command: make html and then navigate to the generated directory docs_build/html in your favorite web browser

Branch Naming

Branches should be created when a certain bug or feature may take multiple attempts to fix. Naming them should follow the following convention (even for forked repositories when a pull request is being made):

  • For features, use: impl-<feature name>
  • For bug fixes, use: bug-<bug tracker ID>
  • For improvements/rewrites, use: improv-<feature name>
  • For prototyping, use: proto-<feature name>

Pull Requests

We ask that submitted Pull Requests give moderately detailed notes about the changes and explain any changes that were made to the program outside of those directly related to the feature/bug-fix. Make sure to run all tests and formatting otherwise we cannot accept your pull request.

Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits needed to pass all tests.

Once a Pull Request is submitted, we will mark the request for review, once that is done, we will review the changes and provide any notes/things to change. Once all additional changes have been made, we will merge the request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.