Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Latest commit

 

History

History
98 lines (54 loc) · 3.47 KB

CONTRIBUTING.md

File metadata and controls

98 lines (54 loc) · 3.47 KB

Contributing to LambdaControls

🎉 First of all, thanks for taking time to contribute! 🎉

The following is a set of guidelines for contributing to LambdaControls. Feel free to propose changes to this document in a pull request.

Table of Contents

Code of Conduct

What should I know before I get started?

How can I contribute?

Styleguides

Code of Conduct

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior at [email protected].

What should I know before I get started?

Fabric

Fabric is the mod loader and the software which allows Gradle to setup the workspace.

Java 16

Java is the main language used to make LambdaControls alive. Knowing how to code in Java is necessary if you contribute to the code.

Minecraft

As it is a Minecraft mod you should know a bit how Minecraft works and how modding works.

Mixins

Mixins are a main part in this mod, they allow the necessary modifications to the Minecraft Client.

Gradle

Gradle is the build tool used for this project.

Git

Git is the control version software we use for LambdaControls, please know how to use it if you consider contributing to the code.

Git commits should be signed.

How can I contribute?

Reporting Bugs

Before submitting a bug report

  • Check if you can reproduce it on other platforms.
  • Perform a search to see if the problem has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.

How do I submit a bug report?

Go in the issues tab in GitHub and read the bug report guide

Suggesting enhancements

Enhancement suggestions are tracked as GitHub issues. Check out the feature request guide.

Do pull requests

You can help LambdaControls by writing code and submit it with pull requests.

Pull requests will be accepted if they follow the styleguide, if they are useful, etc... We can refuse a pull request if the commits are not signed, so don't forget to sign them!

Feel free to pull request!

Styleguides

Git commit messages

  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • (Not for the message) Don't forget to sign the commit.

Naming convention

Names in the code should be explicit and always in camelCase, snake_case will not be allowed. PascalCase can be used for class name.

Brace placement

Every braces should be at the end of the line of function declaration, etc.

Quick note for users of the Intellij IDEA IDE

As a user of the Intellij IDEA IDE you have the format code shortcut which use a codestyle described by a file. You can import the codestyle file here: LambdAurora's dotfiles.