Custom world generation/processor list/predicate

From Minecraft Wiki
Jump to: navigation, search
  • The root tag
    •  predicate_type: Can be always_true, axis_aligned_linear_pos for a random chance that depends on a block's distance to the structure's origin [needs testing], block_match to test for a block, blockstate_match to test for specific block states, random_block_match to test for a block with a random chance or tag_match to test for a block in a block tag.
    • If predicate_type is axis_aligned_linear_pos:
      •  axis: Can be x, y or z
      •  min_chance: The chance for the predicate to pass when the distance of a block to the structure's origin is equal to min_dist [needs testing].
      •  max_chance: The chance for the predicate to pass when the distance of a block to the structure's origin is equal to max_dist [needs testing]. If a block's distance is between min_dist and max_dist, chance is obtained by linear interpolation between the values of min_chance and max_chance.
      •  min_dist
      •  max_dist
    • If predicate_type is block_match:
      •  block: A block ID.
    • If predicate_type is blockstate_match:
      •  block_state
        •  Name: ID of the block
        •  Properties: Block states
          •  state: A block state key and its value.
    • If predicate_type is random_block_match:
      •  block: A block ID.
      •  probability: The probability (between 0 and 1) of the predicate to pass if the block is found.
    • If predicate_type is tag_match:
      •  tag: The namespaced ID of a block tag