Skip to content

布尔值(Boolean)

truefalse 的值。

见“在配置中定义数据”了解详情。

用途

有 14 个参数用到:

  • NoiseSampler 中的 DISTANCE:
normalize 布尔值 - 若设置为 true,返回值的范围将会被约束在 [-1, 1],否则返回原距离。
  • BIOME 中的 base:
carving.update-palette 布尔值
  • Image 中的 STITCHED_BITMAP:
zero-indexed 布尔值
  • NoiseSampler 中的 CHANNEL:
normalize 布尔值 - 是否将通道约束在 [-1, 1] 的范围中。
  • pack.yml 中的 base:
images.cache.load-on-use 布尔值
  • SCATTERED_ORE 中的 base:
physics 布尔值
  • NoiseSampler 中的 GABOR:
isotropic 布尔值
  • Image 中的 BITMAP:
zero-indexed 布尔值
  • NoiseSampler 中的 DISTANCE_TRANSFORM:
invert-threshold 布尔值
  • Locator 中的 ADJACENT_PATTERN:
match-all 布尔值
  • ORE 中的 base:
physics 布尔值
  • NoiseSampler 中的 CHANNEL:
premultiply 布尔值 - 是否将通道与 alpha 通道值相乘。
  • NoiseSampler 中的 DISTANCE_TRANSFORM:
clamp-to-max-edge 布尔值
  • BiomeColorConverter 中的 EXACT:
ignore-alpha 布尔值

贡献者

页面历史