Greenery Help

drops

modid:name * count (ResourceLocation * Int) | chance (Double) | blockStates (List<IBlockState>)
  • The first two parameters are required.

  • The third parameter is optional. It can have an unlimited number of properties that must be comma-separated.

Examples

  • Adds one minecraft:diamond with a 100% chance to drop when the plant has age=3 property.

    minecraft:diamond | 1.0 | age=3
  • Adds three minecraft:diamonds with a 50% chance to drop.

    minecraft:diamond * 3 | 0.5
  • Drops the default item for the plant with a 100% chance when the plant has age=3 and single=false properties. For example, for cattail, the default item would be cattail. 😛

    this | 1.0 | age=3, single=false
  • Drop the default seed item defined by forge with a 20% chance. It should be compatible with all the mods altering default seeds. (For example CraftTweaker.)

    seeds | 0.2
  • The parser is smart! So even this is a valid configuration:

    minecraft : diamond |1 . 0 | age =3
Last modified: 02 September 2024