Skip to content

Releases: juraj-hrivnak/Greenery

v6.0

18 Oct 12:50
Compare
Choose a tag to compare

Greenery🌿 changelog

  • Added support for arbitrary block generation.
    • Greenery can now generate non-Greenery blocks in the world and when using bonemeal based on configuration.
    • To add configuration for these blocks create JSON files in the greenery/blocks directory.
    • Properties of this new configuration are:
      • blocks - A list of blocks you want to generate; syntax: <resource_location>:[<meta>]; example: minecraft:cactus
      • worldGen and allowedSoils - The same as Greenery plants.
    • Example configuration file for a cactus:
      {
        "blocks": [
          "minecraft:cactus",
          "minecraft:cactus",
          "minecraft:cactus"
        ],
        "worldGen": [
          "0 | type:dry | 1.0 | 16 | 32"
        ],
        "allowedSoils": [
          "sand"
        ]
      }

Thanks to xkforce for commissioning these features!

v5.1

02 Sep 17:45
Compare
Choose a tag to compare

Greenery🌿 changelog

  • Allowed items in toolShears OreDict to be used on upland plants as shears.

v5.0

07 Aug 16:58
Compare
Choose a tag to compare

Greenery🌿 changelog

  • Added floating plant type.
    • It accepts the compatibleFluids option to check the block's fluid state.
    • It has a frosted property which will be true when a block of Material.ICE is under it.
    • isSolid option set to true on these plants is advised, to recreate the vanilla behaviour of lilypads.
  • Added allowedSoils config option for plants
    • Currently only accepts material names: ["air", "grass", "ground", "wood", "rock", "iron", "anvil", "water", "lava", "leaves", "plants", "vine", "sponge", "cloth", "fire", "sand", "circuits", "carpet", "glass", "redstone_light", "tnt", "coral", "ice", "packed_ice", "snow", "crafted_snow", "cactus", "clay", "gourd", "dragon_egg", "portal", "cake", "web", "piston", "barrier", "structure_void"]
    • Material names can be uppercase too.
    • This option is backwards compatible, meaning the old values are used if this option is missing.
  • Plant generators are now grouped by dimensions when calculating the patchAttempts.
  • Migrated the build script to Kotlin DSL.