Skip to content

Placement Modifier: Minecraft: Count

DerFrZocker edited this page May 7, 2023 · 4 revisions

Table of Contents

  1. Description
  2. Settings
    1. Count
  3. Example Settings
  4. File Configuration

Description

Key: minecraft:count

The count placement modifier is one of the simpler placement modifiers. It will take a location and outputs the same locations multiple times as set by the count setting.

In Minecraft default features this placement modifier is used to set how often a feature should spawn in a chunk.
Note: A feature can generate less in a chunk, than specific with this placement modifier, if other criteria are not satisfied.

Settings

Count

Value-Type: Integer
Value-Range: [0, ∞)

The count determines how often the given location should be returned.

Example Settings

Feature Count
minecraft:ore_diamond 7
minecraft:ore_diamond_buried 4
minecraft:ore_diamond_large 1
minecraft:ore_iron_middle 10
minecraft:ore_iron_small 10
minecraft:ore_iron_upper 90
minecraft:ore_clay 33
minecraft:ore_copper 46
minecraft:ore_gravel 14
minecraft:ore_emerald 100

File Configuration

Configuration

"count": <integer value>,
"placement_modifier_type": "minecraft:count"

Full Example

"placement_modifier_configurations": [
  {
    "count": {
      "count_type": "feature:fixed_double_to_integer",
      "value": 100.0
    },
    "placement_modifier_type": "minecraft:count"
  }
]

Clone this wiki locally