@@ -4814,38 +4814,43 @@ Definition tables
4814
4814
y_min = -31000
4815
4815
y_max = 31000
4816
4816
-- ^ Lower and upper limits for decoration.
4817
- -- ^ This parameter refers to the `y` position of the decoration base, so
4818
- -- the actual maximum height would be `height_max + size.Y`.
4817
+ -- ^ These parameters refer to the Y co-ordinate of the 'place_on' node.
4819
4818
spawn_by = "default:water",
4820
4819
-- ^ Node (or list of nodes) that the decoration only spawns next to.
4821
4820
-- ^ Checks two horizontal planes of neighbouring nodes (including diagonal neighbours),
4822
- -- ^ one plane at Y = surface and one plane at Y = surface = + 1 .
4821
+ -- ^ one plane level with the 'place_on' node and a plane one node above that .
4823
4822
num_spawn_by = 1,
4824
4823
-- ^ Number of spawn_by nodes that must be surrounding the decoration position to occur.
4825
4824
-- ^ If absent or -1, decorations occur next to any nodes.
4826
4825
flags = "liquid_surface, force_placement",
4827
4826
-- ^ Flags for all decoration types.
4828
- -- ^ "liquid_surface": Instead of placement on the highest solid surface
4829
- -- ^ in a mapchunk column, placement is on the highest liquid surface.
4830
- -- ^ Placement is disabled if solid nodes are found above the liquid surface.
4827
+ -- ^ "liquid_surface": Instead of placement on the highest solid surface in
4828
+ -- ^ a mapchunk column, placement is on the highest liquid surface. Placement
4829
+ -- ^ is disabled if solid nodes are found above the liquid surface.
4831
4830
-- ^ "force_placement": Nodes other than "air" and "ignore" are replaced by the decoration.
4832
4831
4833
4832
----- Simple-type parameters
4834
4833
decoration = "default:grass",
4835
4834
-- ^ The node name used as the decoration.
4836
4835
-- ^ If instead a list of strings, a randomly selected node from the list is placed as the decoration.
4837
4836
height = 1,
4838
- -- ^ Number of nodes high the decoration is made .
4839
- -- ^ If height_max is not 0, this is the lower bound of the randomly selected height.
4837
+ -- ^ Decoration height in nodes .
4838
+ -- ^ If height_max is not 0, this is the lower limit of a randomly selected height.
4840
4839
height_max = 0,
4841
- -- ^ Number of nodes the decoration can be at maximum .
4840
+ -- ^ Upper limit of the randomly selected height .
4842
4841
-- ^ If absent, the parameter 'height' is used as a constant.
4843
4842
param2 = 0,
4844
- -- ^ Param2 value of placed decoration node .
4845
- -- ^ If param2_max is not 0, this is the lower bound of the randomly selected param2.
4843
+ -- ^ Param2 value of decoration nodes .
4844
+ -- ^ If param2_max is not 0, this is the lower limit of a randomly selected param2.
4846
4845
param2_max = 0,
4847
- -- ^ Upper bound of the randomly selected param2.
4846
+ -- ^ Upper limit of the randomly selected param2.
4848
4847
-- ^ If absent, the parameter 'param2' is used as a constant.
4848
+ place_offset_y = 0,
4849
+ -- ^ Y offset of the decoration base node relative to the standard
4850
+ -- ^ base node position for simple decorations.
4851
+ -- ^ Can be positive or negative. Default is 0.
4852
+ -- ^ Ignored by 'y_min', 'y_max' and 'spawn_by' checks, which always refer
4853
+ -- ^ to the 'place_on' node.
4849
4854
4850
4855
----- Schematic-type parameters
4851
4856
schematic = "foobar.mts",
0 commit comments