Minecraft Wiki
Advertisement
    •  type: The type of the block state provider. One of simple_state_provider (specifies a block state directly), rotated_block_provider (rotates axially-rotated block, such as logs, chain), weighted_state_provider (chooses a block state from a weighted list), randomized_int_state_provider (assigns a random value to an integer block property), noise_provider (randomly choose a block state according to a noise value), dual_noise_provider (randomly choose a block state according to two noise values), or noise_threshold_provider (use different block state when a noise value above or below the threshold).
      If type is simple_state_provider, additional fields are as follows:
    •  state: The block state to use.
      • Block state
      If type is rotated_block_provider, additional fields are as follows:
    •  state: The block ID to use. The block properties are ignored.
      • Block state
      If type is weighted_state_provider, additional fields are as follows:
    •  entries: (Cannot be empty) A weighted list of block state entries.
      • A block state and its corresponding weight.
        •  data: The block state to use.
          • Block state
        •  weight: The weight of this entry.
      If type is randomized_int_state_provider, additional fields are as follows:
    •  property: The name of a block property.
    •  values: The value of the block property.
      • Int provider
    •  source: Another block state provider that specifies the source of the block state.
      • Block state provider
      If type is noise_provider, additional fields are as follows:
    •  seed: The seed of the noise.
    •  noise: A noise.
    •  scale: Horizontal scale of the noise. Must be a positive value.
    •  states: (Cannot be empty) List of optional block states.
      • : A block state.
        • Block state
      If type is dual_noise_provider, additional fields are as follows:
    •  seed: The seed of the noise.
    •  noise: A noise.
    •  scale: Horizontal scale of noise. Must be a positive value.
    •  slow_noise: The noise used for the first selection.
    •  slow_scale: Horizontal scale of the slow noise. Must be a positive value.
    •  variety: The number of block states that seleted out by slow noise.
      •  min_inclusive: The min number of block states after selection by slow noise. Must be an integer equal to or greater than 1.
      •  max_inclusive: The max number of block states after selection by slow noise. Must be an integer equal to or less than 64, and must be greater than  min_inclusive.
    •  variety: Shorthand version of  variety.
      • : Min number. Must be an integer equal to or greater than 1.
      • :Max number. Must be an integer equal to or less than 64, and must be greater than the min number.
    •  variety:Shorthand version of  variety when the min equals to the max. Value between 1 and 64 (both inclusive).
    •  states: List of block states to choose from.
      • : A block state.
        • Block state
      If type is noise_threshold_provider, additional fields are as follows:
    •  seed: The seed of the noise.
    •  noise: A noise.
    •  scale: Horizontal scale of noise. Must be a positive value.
    •  threshold: Value between -1.0 and 1.0 (inclusive). The threshold of the noise value. If the noise value is lower than this value, the block states in low_states will be selected.
    •  high_chance: Value between -1.0 and 1.0 (inclusive). If the noise value is higher than the threshold, the block states in high_states will be selected with a probability of high_chance.
    •  default_state: Default block state. These block states is used when the noise value is higher than threshold but high_states is not selected according to high_chance.
      • Block state
    •  low_states: (Cannot be empty) List of block states to choose from when lower than threshold.
      • : A block state.
        • Block state
    •  high_states: (Cannot be empty) List of block states to choose from when higher than threshold.
      • : A block state.
        • Block state
Advertisement