Thank you for your interest in contributing to YAWP!
Contributions help improve the mod and ensure compatibility with other mods. Please read the guidelines below before submitting a pull request or issue.
If you've found a bug, please open an issue with the following details:
- Description: What happened? What did you expect to happen?
- Steps to Reproduce: Provide a step-by-step guide to reproduce the issue.
- Logs & Crash Reports: Include relevant logs or crash reports (use a pastebin-like service if needed).
- Mod Version & Environment: YAWP version, Minecraft version, Forge/Fabric version, and other relevant mods installed.
Feature requests are welcome! When suggesting a new feature:
- Explain the use case and why it would benefit the mod.
- If possible, suggest an implementation approach or reference existing mods with similar features.
- Keep discussions constructive and open-ended for potential improvements.
Alternatively, visit our Discord server and report your issue or suggest a new feature there.
- Clone the repository:
git clone https://github.com/Z0rdak/Yet-Another-World-Protector.git
- Set up the development environment:
- Ensure you have JDK 17 (for 1.20.1) or JDK 21 (for 1.21.1+) installed.
- Import the project into your IDE (IntelliJ IDEA recommended).
- Let gradle to its job importing the project and start coding :-)
- Build the project:
./gradlew build
- Follow standard Java conventions (use proper naming, avoid unnecessary complexity).
- Use spaces for indentation, not tabs.
- Keep methods short and focused—avoid large, complex methods.
- Keep compatibility with Forge, Fabric and NeoForge where applicable.
- Create a new branch for your feature or bug fix:
git checkout -b feat/your-feature
- Please target the multi/1.21.4 branch. Backports to supported versions are usually done by me, but feel free todo so =).
- Keep PRs focused—avoid bundling multiple changes in a single PR.
- Write clear commit messages describing what each change does.
- Test your changes before submitting.
- If your PR references an issue, link it in the description (e.g.,
Closes #42).
By contributing, you agree that your contributions will be licensed under the same license as YAWP.
Thank you for helping improve YAWP! 🚀