PlantRule type
A plant on a column. Each column takes at most one: a rule that holds is tried with its chance (1), in the order of the list.
Fields 12
plantRule.block: BlockPick?plantRule.blocks: { BlockPick }?The blocks from the foot up, in place of block: a two-block flower.
plantRule.tip: BlockPick?With height, the block on top of a plant that grows.
plantRule.height: (Field | number)?How many blocks a plant that grows is tall: block repeats.
plantRule.chance: (Field | number)?plantRule.biome: string?plantRule.when: (Field | number)?plantRule.afloat: boolean?On the water over a column, not on its ground.
plantRule.sink: number?Blocks to stand lower: 1 is in the ground, or in the top of the water.
plantRule.clear: number?Blocks of water to keep clear over a plant that grows in it.
plantRule.place: ("top" | "floor" | "ceiling" | "wall")?Where it goes: "top" (the default), or in the caves density or carvers dig: "floor", "ceiling" (it hangs down: tip is lowest) or "wall" (one block; {wall} in its name is the side the rock is on, {facing} the side away). One plant on each floor and each ceiling of a cave, and in each wall block. when and chance are read at the air block it starts in.
plantRule.y: { number }?{ low, high }: the y it may start at.