From 7f0540c9d83db2b061356355d8362c555cbb381a Mon Sep 17 00:00:00 2001 From: Astrashh Date: Fri, 14 Jul 2023 15:43:59 +1000 Subject: [PATCH] Patch version 1.3.3 (#151) * Fix malformed pink petal block ID * Bump version to 1.3.3 --- CHANGELOG.md | 3 ++- pack.yml | 4 ++-- structures/vegetation/flowers/pink_petals.tesf | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86e71cdc..454bcdcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ generate in an area where it previously did not (resulting in a chunk border). ### Fixed +- Fixed pink petal structure generating broken block IDs. ## [v1.3.2] @@ -142,4 +143,4 @@ generate in an area where it previously did not (resulting in a chunk border). [1.1.1]: https://github.com/PolyhedralDev/TerraOverworldConfig/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/PolyhedralDev/TerraOverworldConfig/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/PolyhedralDev/TerraOverworldConfig/compare/v1.0.0...v1.0.1 -[1.0.0]: https://github.com/PolyhedralDev/TerraOverworldConfig/releases/tag/v1.0.0 +[1.0.0]: https://github.com/PolyhedralDev/TerraOverworldConfig/releases/tag/v1.0.0 \ No newline at end of file diff --git a/pack.yml b/pack.yml index 9a3490e5..108fb5ac 100644 --- a/pack.yml +++ b/pack.yml @@ -1,5 +1,5 @@ id: OVERWORLD -version: 1.3.2 +version: 1.3.3 author: "Astrash, Sancires, Aureus" generator: NOISE_3D @@ -119,4 +119,4 @@ functions: samplers: "<<": - - math/samplers/simplex.yml:samplers + - math/samplers/simplex.yml:samplers \ No newline at end of file diff --git a/structures/vegetation/flowers/pink_petals.tesf b/structures/vegetation/flowers/pink_petals.tesf index 0c8f577c..b264a180 100644 --- a/structures/vegetation/flowers/pink_petals.tesf +++ b/structures/vegetation/flowers/pink_petals.tesf @@ -1,16 +1,16 @@ num flowers = randomInt(1000)/1000; -num dir = randomInt(10); +num dir = randomInt(4); str blockID = "minecraft:pink_petals"; if(dir == 0) blockID = blockID + "[facing=north"; else if(dir == 1) blockID = blockID + "[facing=east"; else if(dir == 2) blockID = blockID + "[facing=west"; -else if(dir == 3) blockID = blockID + "[facing=south"; +else blockID = blockID + "[facing=south"; if(flowers <= 0.5) blockID = blockID + ",flower_amount=4]"; else if(flowers <= 0.6) blockID = blockID + ",flower_amount=3]"; else if(flowers <= 0.8) blockID = blockID + ",flower_amount=2]"; -else if(flowers <= 0.9) blockID = blockID + ",flower_amount=1]"; +else blockID = blockID + ",flower_amount=1]"; // Place flowers block(0, 0, 0, blockID); \ No newline at end of file