updated documentation for 1.18 (#1269)

This commit is contained in:
Random J Farmer authored and GitHub committed 2022-01-11 23:31:21 +01:00
1 parent f697924d30
commit 1a96533818
2 files changed
+11 -9

No files matched your search

+5 -2
View File
@@ -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 specific Y coordinate of the biome you want to change, and it affects roughly 4x4x4 area (give or take some random
noise). 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. Throws `unknown_biome` if the `biome_name` doesn't exist.
### `update(pos)` ### `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. 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: 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 * `'top_material'`: unlocalized block representing the top surface material (1.17.1 and below only)
* `'under_material'`: unlocalized block representing what sits below topsoil * `'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: * `'category'`: the parent biome this biome is derived from. Possible values include:
`'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`, `'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`,
`'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`, `'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`,
+6 -7
View File
@@ -157,12 +157,11 @@ Throws `unknown_poi` if the provided point of interest doesn't exist
### `set_biome(pos, biome_name, update=true)` ### `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 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 Be aware that depending on the MC version and dimension settings biome can be set either in a 1x1x256
is only effective if you set it at y=0, and affects the entire column of. In the nether - you have to use the column or 4x4x4 hyperblock, so for some versions Y will be ignored and for some precision of biome
specific Y coordinate of the biome you want to change, and it affects roughly 4x4x4 area (give or take some random setting is less than 1x1x1 block.
noise).
Throws `unknown_biome` if the `biome_name` doesn't exist. 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. 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: 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 * `'top_material'`: unlocalized block representing the top surface material (1.17.1 and below only)
* `'under_material'`: unlocalized block representing what sits below topsoil * `'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: * `'category'`: the parent biome this biome is derived from. Possible values include:
`'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`, `'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`,
`'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`, `'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`,