This license governs your use of XDPXI's Minecraft Mods (the "Mods"). By using the Mods, you agree to be bound by the terms of this license. This is a legal agreement between you and XDPXI's Servers.

You are permitted to use these Mods in modpacks, and you are allowed to edit and fork these Mods, subject to the conditions outlined below. Your use of the Mods constitutes your full acceptance of these terms and conditions.

1. Revenue Sharing

If you fork, modify, or reuse substantial code from these Mods and upload it to CurseForge, Modrinth, or similar sites with monetization features, 50% of the revenue generated from the fork must be shared with the original author (XDPXI). This ensures fair compensation for the original work.

2. Distribution Restrictions

To protect the Mods' integrity and support legitimate distribution channels, you are prohibited from reuploading these Mods to mod hosting sites that do not offer author compensation or exercise adequate control over modification and redistribution, such as PlanetMinecraft.

3. Modpack Integrity

To ensure the Mods remain up-to-date and secure, you must not directly override the JAR filesof these Mods within a modpack. The Mods must be obtained from Modrinth. This helps prevent the distribution of outdated or maliciously modified versions.

4. Attribution and License Retention

If you modify these Mods, you must retain the original copyright notice within your modified code. Youare not permitted to relicense the software under a different license. The license must remain "XD's MC License." This ensures proper attribution and consistent licensing terms.

5. Code Reuse Guidelines

Reuse of small portions of the Mods' code (e.g., individual functions) in projects with distinct and non-competing purposes is permitted. However, this permission does not extend to projects that directly compete with these Mods or replicate its core functionalities. This is to protect the unique value and innovation of the original Mods.

6. License Exceptions

Exceptions to these terms may be granted on a case-by-case basis. If you require clarification or wish to request an exception (e.g., for using minor portions of code in unrelated projects), please contact the author for approval.

7. Disclaimer of Warranty

These Mods are provided "as-is" without any warranties, express or implied. The author is not responsible for any issues, damages, or losses arising from the use of these Mods. Use at your own risk.

Can I use this in my modpacks?

Yes, of course! You can use these mods in your modpack without asking, as long as it’s downloaded from the official Curseforge or Modrinth link.

Can I fork this mod?

Yes, you don’t need permission, but you must split 50% of the revenue with the original author. You may not relicense the software, and you may not reupload it to other sites besides Curseforge or Modrinth.

Can I use this as a separate dependency for my own mods?

You can compile against this mod and use it as a library, but you may not JAR it or bundle it with your mod. It should be marked as a dependency on Curseforge or Modrinth.

Can I copy this bit of code I saw?

Yes! Just be respectful. You may copy small parts of this mod, such as individual functions or the build script, if used in another mod with different functionality. You may not copy a substantial amount of the mod, or copy code from this mod to use in competing mods that serve a similar purpose.