Skip to content

Identical Neighbor

  • Id: moderner_beta:identical_neighbor
  • Added in: 3.0.0

The Identical Neighbor biome predicate returns true if a specified amount of neighbors satisfy a predicate.

Properties

  • requiredCount
    • Type: int
    • Default: 1
    • Description: The amount of neighbors that need to satisfy the biome predicate's condition in order to return true.
  • diagonal
    • Type: bool
    • Default: false
    • Description: Determines if neighbors are sampled from diagonal corners or if they are sampled from the edges of the central biome.
  • neighborPredicate
    • Type: biome-predicate
    • Default: required
    • Description: The predicate to match neighbors by.