Skip to content

Releases: juraj-hrivnak/Greenery

8.0

04 Jan 17:00
Compare
Choose a tag to compare
  • Merged pull request by @MasterEnderman in #31.

    • Added a new config option for disable printing debug messages to the log file
    • Defining drops now allows:
      • using metadata -> use <resource_location>:<meta>; example minecraft:wool:5,
      • using oredicts -> use ore:<oredict_name>; example ore:plankWood.
  • Added "Override Other Bonemeal Events" config.

  • Added isReplaceable JSON config.

  • Implemented a safer way of loading and unloading generators. (Fixes #30.)

7.0

17 Nov 16:10
Compare
Choose a tag to compare
7.0

Greenery🌿 changelog

  • Implemented improved soil configuration.
  • The allowedSoils config was deprecated. (Still works for backward compatibility.)

Syntax:

{
  "soil": [
    "material:<material>",
    "block:<resource_location>",
    "block:<resource_location> | <blockstates>..."
  ]
}

Example:

{
  "soil": [
    "material:grass",
    "block:minecraft:sand",
    "block:minecraft:stone | variant=granite"
  ]
}

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.