Custom world generation/processor

カスタムワールド生成/processor 自定义世界生成/processor
 * : Can be (Replaces blocks with custom rules), (Randomly removes blocks. The removed blocks are not replaced by air, but keep the old blocks before the structure being generated.), (Makes blocks aged. A stone, stone bricks, or cracked stone bricks block has a chance of 0.5 to be replaced with one of cracked stone bricks, stone brick stairs, mossy stone bricks, and mossy stone brick stairs. All variants of stairs have a 0.5 chance to become one of stone slab, stone brick slab, mossy stone brick stairs, and mossy stone brick slab. All variants of slabs and walls may remain unchanged or become mossy stone brick variants. An obsidians have a 0.15 chance to become crying obsidian.), (Removes specified blocks. The removed blocks are not replaced by air, but keep the old blocks before the structure being generated.), (Change the Y-level of blocks' positions to fit the terrain like a village road. Note that this is not used to make floating gravity blocks fall down. This processor is hardcoded to be used on a structure template if its "projection" field in its structure pool is "terrain_matching".), (Specifies which blocks in the world cannot be overridden by this structure), (Replaces all stone-variant blocks with blackstone variants and all iron bars with chains.), (Whether to preserve jigsaw blocks and structure void blocks. This processor is hardcoded to be used unless generated in the jigsaw block GUI.), (Blocks with incomplete outline shapes will not be able to override the lava in the world), (Applies a processor to some random blocks instead of applying it to all blocks.) or (Do nothing).
 * If is, additional field is as follows :
 * : (Required, but can be empty) A list of rules. Only the first rule that all conditions are met takes effect. This is decided anew for each block.
 * : A rule.
 * : (Optional, defaults to an "always_true" test) The test to apply to the distance from the structure start to this block.
 * : The test to apply to the block that will be placed by the structure.
 * : The test to apply to the block in the world that will be replaced by the structure.
 * : The block that will be placed when all conditions are met. Omitting block states use default values (e.g. the replacement of stairs with stairs without changing states need 40 rules to check for all facing combinations).
 * : (optional) Modifies nbt data of the block entity if all conditions are met.
 * : Can be (Appends  field and   field to the block entity. The   uses a random number seeded by the block position.), (Merges specified data into the block entity.), (Resets any existing fields on the block entity.) or (Do nothing).
 * If is, additional field is as follows :
 * : The resource location of a loot table.
 * If is, additional field is as follows :
 * : (Required, but can be empty) The nbt data to be merged into the block entity. Needs to be in JSON form, see NBT format.
 * If is, additional fields are as follows :
 * : The probability of randomly removing blocks in the structure. Value between 0 and 1.
 * : (optional) Blocks that can be removed. A block ID or a block tag, or a list of block IDs.
 * If is, additional field is as follows :
 * : Values below 0.0 is treated as 0.0; values above 1.0 is treated as 1.0. The probability of using mossy variants when making a block aged.
 * If is, additional field is as follows :
 * : (Required, but can be empty) IDs of blocks to ignore. Specifying block states has no effect.
 * : A block.
 * If is, additional fields are as follows :
 * : (optional, defaults to WORLD_SURFACE_WG) Must be one of (if not during world generation, fallbacks to  ), ,  (if not during world generation, fallbacks to  ),  ,  , or.
 * : (optional, defaults to 0) The offset relative to the terrain. For example: 0 is to place the structure on the ground, -1 is to sink one block into the ground. When this processor is used on a structure template by hardcoding (when the template's "projection" field in its structure pool is "terrain_matching"), is -1.
 * If is, additional field is as follows :
 * : A block tag with.
 * If is, additional fields are as follows :
 * : The number of blocks on which the processer is applied. Must be greater than 0. If it is greater than or equal to the total number of blocks in the structure template, all blocks are processed as if the processer is not capped.
 * : The processer.
 * If is, additional field is as follows :
 * : A block tag with.
 * If is, additional fields are as follows :
 * : The number of blocks on which the processer is applied. Must be greater than 0. If it is greater than or equal to the total number of blocks in the structure template, all blocks are processed as if the processer is not capped.
 * : The processer.
 * : The processer.