Copyright (c) 2025 Photon by KilaBash

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material

Under the following terms:

1. **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

2. **NonCommercial** — You may not use the material for commercial purposes without explicit permission from the author.

3. **ShareAlike** — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

4. **No Additional Restrictions** — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

---

## Restrictions on Photon 2 Ports:

The porting or adaptation of this software to versions other than Minecraft 1.21.x (hereinafter "Photon 2 Ports") is subject to the following additional restrictions:

1. **Prior Consent Requirement** — Any Photon 2 Port intended for public distribution or release must first obtain explicit written consent from the original author (KilaBash) prior to publication.

2. **Open Source Requirement** — All Photon 2 Ports must be distributed under the same Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, with full source code publicly available.

3. **Prohibition of Commercial Activity** — Photon 2 Ports are strictly prohibited from engaging in any form of commercial activity, including but not limited to:
   - Direct or indirect monetization (fees, paid downloads, paid subscriptions)
   - Sponsorships, donations, or crowdfunding campaigns
   - Commercial services or support contracts
   - Integration into commercial products or services
   - Any form of commercial redistribution or licensing

4. **Attribution and Accountability** — All Photon 2 Ports must clearly indicate their derivative status and provide attribution to the original Photon project and author.

Violation of these restrictions may result in legal action to protect the intellectual property and licensing rights of the original work.

---

## Special Notes for Minecraft Mod Distributors:

- You are allowed to include this mod in modpacks, provided the modpack itself is distributed non-commercially.
- You are allowed to include this mod in your mod (via "jar-in-jar"), provided the mod itself is not sold separately or monetized directly.
- Any commercial distribution of this mod (outside of modpack use) requires the author's written permission.
- Forks and modified versions must retain this license and credit the original author.

---

## Content Created Using This Mod:

Any in-game or external content created using the tools, Addons, APIs, or functionalities provided by this mod (such as data packs, custom recipes, configurations, scripts, structures, etc.) is **not considered part of this mod** and is **not covered** by this license.

Creators of such content are free to distribute, license, or use their creations under any terms they choose, including for commercial purposes, as long as the original mod itself is not redistributed in violation of this license.

This clause does not grant permission to redistribute, modify, or commercialize the original mod code or assets beyond the scope of fair use or explicit permissions described above.

---

## Clarification on Derivative Works:

This license applies only to the original mod source code and assets provided in this repository.

You are free to create derivative works (e.g., other mods, add-ons, maps, videos, or tools inspired by or using this mod), and these derivative products are not required to adopt this license. You may choose any license for your derivative creations, as long as the original mod code/assets are not directly reused beyond what this license allows.

However, direct modifications or forks of this mod must continue to comply with the CC BY-NC-SA 4.0 license and must provide attribution.

---

Full License Text: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
Human-Readable Summary: https://creativecommons.org/licenses/by-nc-sa/4.0/

---

## Licensing Inquiries:

For inquiries regarding commercial licensing, Photon 2 Port permissions, or other licensing arrangements, please contact the original author @KilaBash at: yefancy@foxmail.com
