From 3f9f8ab190fff5c7d8af206956179559ef07f047 Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 24 Jun 2022 13:23:10 +0300 Subject: [PATCH 1/9] Create taters.md --- docs/plasmid/taters.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/plasmid/taters.md diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md new file mode 100644 index 0000000..72b0f6e --- /dev/null +++ b/docs/plasmid/taters.md @@ -0,0 +1,31 @@ +# Adding taters to Nucleoid Extras + +### Add tater + +1. Fork this repo +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.17/src/main/resources/data/nucleoid_extras/lang/en_us.json) +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.17/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.17/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) +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) +9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) +10. Copy the generated URL that starts with `ewog` +11. Paste it to your tater's row, replacing the existing `ewog` +11. Commit and push +12. Create a pull request + +### Edit tater image + +1. Copy the `ewog` +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 https://discord.com/channels/733462796582387753/744090136945360936/913463834994413618 From c86b46a1fa5be0642bff34377686de01cdb4838c Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 24 Jun 2022 13:25:45 +0300 Subject: [PATCH 2/9] Update taters.md --- docs/plasmid/taters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index 72b0f6e..4fb29cf 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -2,7 +2,7 @@ ### Add tater -1. Fork this repo +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.17/src/main/resources/data/nucleoid_extras/lang/en_us.json) 4. Copy an existing tater line From 675a1437b4f6dc4618988ec663d855bd1bfeb40b Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 24 Jun 2022 13:29:07 +0300 Subject: [PATCH 3/9] Update taters.md --- docs/plasmid/taters.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index 4fb29cf..5d38f62 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -4,13 +4,13 @@ 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.17/src/main/resources/data/nucleoid_extras/lang/en_us.json) +3. Navigate to [en_us.json](https://github.com/NucleoidMC/nucleoid-extras/blob/1.18/src/main/resources/data/nucleoid_extras/lang/en_us.json) 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.17/src/main/java/xyz/nucleoid/extras/lobby/NEItems.java) +6. Go to [NEItems.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.18/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.17/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) +9. Go to [NEBlocks.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.18/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) 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) 9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) From 345b4b4fce3b1784e0aff1cbec8cc4e2dc51c654 Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 24 Jun 2022 13:51:54 +0300 Subject: [PATCH 4/9] Apply suggestions from code review Co-authored-by: Ash --- docs/plasmid/taters.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index 5d38f62..e15e9a1 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -1,6 +1,6 @@ # Adding taters to Nucleoid Extras -### Add tater +## 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 @@ -19,7 +19,7 @@ 11. Commit and push 12. Create a pull request -### Edit tater image +## Edit tater image 1. Copy the `ewog` 2. [Paste it here](https://www.base64decode.org) @@ -28,4 +28,5 @@ 5. Edit it 6. See adding instructions for adding the updated one back -Instructions based on https://discord.com/channels/733462796582387753/744090136945360936/913463834994413618 +Instructions based on [this Discord message](https://discord.com/channels/733462796582387753/744090136945360936/913463834994413618) +```. From db96754151801c50d8aa586b217e0f53e2ac054b Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Fri, 24 Jun 2022 13:52:40 +0300 Subject: [PATCH 5/9] Update mkdocs.yml --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) 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 From 357b7ee0de98769e0adefb5ba12cdf1e6bdf2da7 Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Mon, 24 Apr 2023 18:23:54 +0300 Subject: [PATCH 6/9] Update taters.md --- docs/plasmid/taters.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index e15e9a1..37e3911 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -4,13 +4,13 @@ 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.18/src/main/resources/data/nucleoid_extras/lang/en_us.json) +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.18/src/main/java/xyz/nucleoid/extras/lobby/NEItems.java) +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.18/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) +9. Go to [NEBlocks.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.19.5/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) 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) 9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) From 8ff587d0c6ced6d0e0eaf582a1f64863ac99dec5 Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Mon, 24 Apr 2023 18:25:24 +0300 Subject: [PATCH 7/9] Update docs/plasmid/taters.md Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> --- docs/plasmid/taters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index 37e3911..cad95d1 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -10,7 +10,7 @@ 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.5/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) +9. Go to [NEBlocks.java](https://github.com/NucleoidMC/nucleoid-extras/blob/1.19.4/src/main/java/xyz/nucleoid/extras/lobby/NEBlocks.java) 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) 9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) From 44e7a005dc35d15e71f154e776c305b32a3f43aa Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Mon, 24 Apr 2023 18:47:39 +0300 Subject: [PATCH 8/9] Update taters.md --- docs/plasmid/taters.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index cad95d1..eb7b0a2 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -10,18 +10,18 @@ 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) +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) 9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) -10. Copy the generated URL that starts with `ewog` -11. Paste it to your tater's row, replacing the existing `ewog` +10. Copy the hash that is at the end of "Texture URL" +11. Paste it to your tater's row, replacing the existing hash 11. Commit and push 12. Create a pull request ## Edit tater image -1. Copy the `ewog` +1. Copy the hash 2. [Paste it here](https://www.base64decode.org) 3. Copy the textures -> SKIN -> url value 4. Download the image From 2b231d08b555527341e253f27770f1e2ae72d35a Mon Sep 17 00:00:00 2001 From: Madis Otenurm Date: Mon, 24 Apr 2023 18:48:20 +0300 Subject: [PATCH 9/9] Update taters.md --- docs/plasmid/taters.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/plasmid/taters.md b/docs/plasmid/taters.md index eb7b0a2..f626148 100644 --- a/docs/plasmid/taters.md +++ b/docs/plasmid/taters.md @@ -13,11 +13,11 @@ 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) -9. Upload the head skin to [MineSkin](https://mineskin.org) [(templates here)](https://minecraft.fandom.com/wiki/Skin#Official_skin_templates) -10. Copy the hash that is at the end of "Texture URL" -11. Paste it to your tater's row, replacing the existing hash -11. Commit and push -12. Create a pull request +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