# Texture licence and attribution

`atlas.png` and everything in `textures-extra/` are licensed under the
**Creative Commons Attribution-ShareAlike 4.0 International** licence
(CC BY-SA 4.0): https://creativecommons.org/licenses/by-sa/4.0/

The code in this folder (`vanilla-blocks.js`, `tools/`, `gallery.html`) and the
shape templates and block tables in `blocks.json` are not covered by this
licence and are not affected by its share-alike terms.

## Source

The block textures come from **Pixel Perfection** by **XSSheep**
(https://www.minecraftforum.net/members/XSSheep), continued as **Pixel
Perfection Legacy** by **Nova_Wostra**
(https://www.minecraftforum.net/members/Nova_Wostra), with textures and code
from freejusticehere and contributions by HexaBlu, as credited in the pack.

- Repository: https://github.com/NovaWostra/Pixel-Perfection-Chorus-Eddit
  (commit c8fe33f5c4d6c2e23c87460bdcfcb3b07c515c1d)
- Also published at https://modrinth.com/resourcepack/pixel-perfection-legacy
- Licence: CC BY-SA 4.0, as stated on the pack's CurseForge and Modrinth pages
  and in Mineclonia's LEGAL.md. The repository itself has no LICENSE file.

## Changes made

These textures were modified for this project. Everything listed in
`build-report.json` under `generated_textures` is one of the following:

- **Packing:** textures are packed into one atlas with a 1 px extruded border.
- **Animations:** animated textures are reduced to their first frame.
- **Downscaling:** the few 32 px block textures are downscaled to 16 px.
- **Crops:** faces are cropped out of entity textures (chests, beds, shulker boxes, banners, signs, heads, conduit, decorated pot). Shulker box sides are composed from two crops.
- **Renames:** a few files are used under their Minecraft 1.21.1 names (for example `iron_chain` as `chain`).
- **Recolours:**
  - ominous trial spawner and vault textures (from their regular versions);
  - the lit lightning rod (brightened);
  - ripe wheat (from `wheat_stage6`).
- **Original additions** (drawn procedurally for this project, released under CC BY-SA 4.0 so the atlas has one licence): pointed dripstone, sniffer egg, tripwire, redstone dust overlay (empty), end portal and dragon head.

## Attribution line

When you ship these textures, credit them like this:

> Block textures: Pixel Perfection by XSSheep and Pixel Perfection Legacy by
> Nova_Wostra, modified (CC BY-SA 4.0).

Any changes you make to the atlas must also be shared under CC BY-SA 4.0.

No Mojang textures or model files are included. The build reads Minecraft's
1.21.1 blockstate and model JSON only as a local reference (which texture and
rotation each block state uses). It never copies those files into the output.
