Skip to content

Commit

Permalink
Patch version 1.3.3 (#151)
Browse files Browse the repository at this point in the history
* Fix malformed pink petal block ID

* Bump version to 1.3.3
  • Loading branch information
Astrashh committed Jul 14, 2023
1 parent 99b163f commit 7f0540c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -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]
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions pack.yml
@@ -1,5 +1,5 @@
id: OVERWORLD
version: 1.3.2
version: 1.3.3
author: "Astrash, Sancires, Aureus"

generator: NOISE_3D
Expand Down Expand Up @@ -119,4 +119,4 @@ functions:

samplers:
"<<":
- math/samplers/simplex.yml:samplers
- math/samplers/simplex.yml:samplers
6 changes: 3 additions & 3 deletions 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);

0 comments on commit 7f0540c

Please sign in to comment.