From 1a96533818e6914b79381fa99d1801b8d16b8783 Mon Sep 17 00:00:00 2001 From: Random J Farmer Date: Tue, 11 Jan 2022 23:31:21 +0100 Subject: [PATCH] updated documentation for 1.18 (#1269) --- docs/scarpet/Full.md | 7 +++++-- docs/scarpet/api/BlocksAndWorldAccess.md | 13 ++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 17c6b3d3..1fb28263 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -2483,6 +2483,9 @@ is only effective if you set it at y=0, and affects the entire column of. In the specific Y coordinate of the biome you want to change, and it affects roughly 4x4x4 area (give or take some random noise). +This changed again in 1.18. The overworld behaves like the nether now, the biome must be set +for individual y coordinates. + Throws `unknown_biome` if the `biome_name` doesn't exist. ### `update(pos)` @@ -2675,8 +2678,8 @@ With block, or name, returns the name of the biome in that position, or throws ` Note: Have to pass all 6 of the mentioned noise types and only these noise types for it to evaluate a biome. With an optional feature, it returns value for the specified attribute for that biome. Available and queryable features include: -* `'top_material'`: unlocalized block representing the top surface material -* `'under_material'`: unlocalized block representing what sits below topsoil +* `'top_material'`: unlocalized block representing the top surface material (1.17.1 and below only) +* `'under_material'`: unlocalized block representing what sits below topsoil (1.17.1 and below only) * `'category'`: the parent biome this biome is derived from. Possible values include: `'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`, `'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`, diff --git a/docs/scarpet/api/BlocksAndWorldAccess.md b/docs/scarpet/api/BlocksAndWorldAccess.md index a74970f7..7a8c3445 100644 --- a/docs/scarpet/api/BlocksAndWorldAccess.md +++ b/docs/scarpet/api/BlocksAndWorldAccess.md @@ -157,12 +157,11 @@ Throws `unknown_poi` if the provided point of interest doesn't exist ### `set_biome(pos, biome_name, update=true)` Changes the biome at that block position. if update is specified and false, then chunk will not be refreshed -on the clients. Biome changes can only be send to clients with the entire data from the chunk. +on the clients. Biome changes can only be sent to clients with the entire data from the chunk. -Setting a biome is now (as of 1.16) dimension specific. In the overworld and the end changing the biome -is only effective if you set it at y=0, and affects the entire column of. In the nether - you have to use the -specific Y coordinate of the biome you want to change, and it affects roughly 4x4x4 area (give or take some random -noise). +Be aware that depending on the MC version and dimension settings biome can be set either in a 1x1x256 +column or 4x4x4 hyperblock, so for some versions Y will be ignored and for some precision of biome +setting is less than 1x1x1 block. Throws `unknown_biome` if the `biome_name` doesn't exist. @@ -356,8 +355,8 @@ With block, or name, returns the name of the biome in that position, or throws ` Note: Have to pass all 6 of the mentioned noise types and only these noise types for it to evaluate a biome. With an optional feature, it returns value for the specified attribute for that biome. Available and queryable features include: -* `'top_material'`: unlocalized block representing the top surface material -* `'under_material'`: unlocalized block representing what sits below topsoil +* `'top_material'`: unlocalized block representing the top surface material (1.17.1 and below only) +* `'under_material'`: unlocalized block representing what sits below topsoil (1.17.1 and below only) * `'category'`: the parent biome this biome is derived from. Possible values include: `'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`, `'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`,