Merge docs for 'Carpet Mod 1.4.63 for Minecraft 1.18.2-pre1'
This commit is contained in:
1 parent
4387c18c62
commit
692e157905
1 file changed
+4
-3
@@ -2297,7 +2297,7 @@ Here is a list of built-in types, with their return value formats, as well as a
|
|||||||
* `'loottable'`: name of a loot table source
|
* `'loottable'`: name of a loot table source
|
||||||
* `'attribute'`: an attribute name
|
* `'attribute'`: an attribute name
|
||||||
* `'boss'`: a bossbar name
|
* `'boss'`: a bossbar name
|
||||||
* `'biome'`: a biome name
|
* `'biome'`: a biome name. or biome tag
|
||||||
* `'sound'`: name of a sound
|
* `'sound'`: name of a sound
|
||||||
* `'storekey'`: string of a valid current data store key.
|
* `'storekey'`: string of a valid current data store key.
|
||||||
* `'identifier'`: any valid identifier. 'minecraft:' prefix is stripped off as a default.
|
* `'identifier'`: any valid identifier. 'minecraft:' prefix is stripped off as a default.
|
||||||
@@ -3081,7 +3081,8 @@ These contain some popular features and structures that are impossible or diffic
|
|||||||
|
|
||||||
### `structure_eligibility(pos, ?structure, ?size_needed)`
|
### `structure_eligibility(pos, ?structure, ?size_needed)`
|
||||||
|
|
||||||
Checks wordgen eligibility for a structure in a given chunk. Requires a `Standard Structure` name (see above).
|
Checks wordgen eligibility for a structure in a given chunk. Requires a `Structure Variant` name (see above),
|
||||||
|
or `Standard Structure` to check structures of this type.
|
||||||
If no structure is given, or `null`, then it will check
|
If no structure is given, or `null`, then it will check
|
||||||
for all structures. If bounding box of the structures is also requested, it will compute size of potential
|
for all structures. If bounding box of the structures is also requested, it will compute size of potential
|
||||||
structures. This function, unlike other in the `structure*` category is not using world data nor accesses chunks
|
structures. This function, unlike other in the `structure*` category is not using world data nor accesses chunks
|
||||||
@@ -3094,7 +3095,7 @@ If structure is specified, it will return `null` if a chunk is not eligible or i
|
|||||||
a map with two values: `'box'` for a pair of coordinates indicating bounding box of the structure, and `'pieces'` for
|
a map with two values: `'box'` for a pair of coordinates indicating bounding box of the structure, and `'pieces'` for
|
||||||
list of elements of the structure (as a tuple), with its name, direction, and box coordinates of the piece.
|
list of elements of the structure (as a tuple), with its name, direction, and box coordinates of the piece.
|
||||||
|
|
||||||
If structure is not specified, it will return a set of structure names that are eligible, or a map with structures
|
If structure is not specified, or a `Standard Structure` was specified, like `'village'`,it will return a set of structure names that are eligible, or a map with structures
|
||||||
as keys, and same type of map values as with a single structure call. An empty set or an empty map would indicate that nothing
|
as keys, and same type of map values as with a single structure call. An empty set or an empty map would indicate that nothing
|
||||||
should be generated there.
|
should be generated there.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user