From 32d456bd2d4dda50f77c01c702d1b5a5ff26134b Mon Sep 17 00:00:00 2001 From: Paramat Date: Thu, 5 Apr 2018 17:21:41 +0100 Subject: Biome API / cavegen: Add definable cave liquid for a biome (#7192) Add 'node_cave_liquid' as a new field in biome registration. If field is absent cave liquids fall back to classic behaviour. --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 0c995b54e..ea8e8b254 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5662,6 +5662,10 @@ Definition tables node_riverbed = "default:gravel", depth_riverbed = 2, -- ^ Node placed under river water and thickness of this layer. + node_cave_liquid = "default:water_source", + -- ^ Nodes placed as a blob of liquid in 50% of large caves. + -- ^ If absent, cave liquids fall back to classic behaviour of lava or + -- ^ water distributed according to a hardcoded 3D noise. y_max = 31000, y_min = 1, -- ^ Upper and lower limits for biome. -- cgit v1.2.3