diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md new file mode 100644 index 0000000..f626148 --- /dev/null +++ b/docs/plasmid/taters.md @@ -0,0 +1,32 @@ +# Adding taters to Nucleoid Extras + +## Add tater + +1. Fork [Nucleoid Extras repository](https://github.com/NucleoidMC/nucleoid-extras) +2. Create a branch `namehere-taters` where `namehere` refers to the tater kind +3. Navigate to [en_us.json](https://github.com/NucleoidMC/nucleoid-extras/blob/1.19.4/src/main/resources/data/nucleoid_extras/lang/en_us.json#L54) +4. Copy an existing tater line +5. Paste it, and make sure the name reflects the one you want to add +6. Go to [NEItems.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.19.4/src/main/java/xyz/nucleoid/extras/lobby/NEItems.java) +7. Copy existing tater lines - `public static final` and the `register` one +8. Change values according to your tater's name +9. Go to [NEBlocks.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.19.4/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java#L64) +10. Copy existing tater lines +11. Change values according to your tater's name, change the effect if needed [(color picker here)](https://rgbcolorcode.com) +12. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) +13. Copy the hash that is at the end of "Texture URL" +14. Paste it to your tater's row, replacing the existing hash +15. Commit and push +16. Create a pull request + +## Edit tater image + +1. Copy the hash +2. [Paste it here](https://www.base64decode.org) +3. Copy the textures -> SKIN -> url value +4. Download the image +5. Edit it +6. See adding instructions for adding the updated one back + +Instructions based on [this Discord message](https://discord.com/channels/733462796582387753/744090136945360936/913463834994413618) +```. diff --git a/mkdocs.yml b/mkdocs.yml index 89db9dc..a5c154a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -33,6 +33,7 @@ nav: - plasmid/getting-started.md - plasmid/maps.md - plasmid/statistics.md + - plasmid/taters.md - Backend: - backend/index.md - backend/http-api.md