Skip to content

Wrapped Int Match

  • Id: moderner_beta:mutation
  • Added in: 3.0.0

The Wrapped Int Match biome predicate returns true if the integer part of a biome returned from a Supply Random layer layer wrapped to a certain range matches a certain value. This is used to accurately replicate biome mutation positioning in 1.7+ biome generation.

Properties

  • range
    • Type: int
    • Default: required
    • Description: The amount to wrap the ext value by by applying a modulo operation. Higher values make this predicate less likely to return true.
  • match
    • Type: int
    • Default: 0
    • Description: The integer to check for.