# Phase

## Example

{% hint style="info" %}
This is an example of a configuration.
{% endhint %}

{% code title="Plains.yml" fullWidth="false" %}

```yaml
################################################
# Plains Phase Configuration File
#
# How to use:
# - "Material:Percentage"

# - "Item:Amount:Percentage:"
# - "Item:Amount:Percentage:Enchantment:Level"
# - "Item:Amount:Percentage:Enchantment:Level:Enchantment:Level: ..."
#
# - "Mob:Percentage"
#
# - "Enchantment:Level:Percentage"
#
################################################

name: "Plains"
biome: "PLAINS"
next-phase: 6000

blocks:
  - "GRASS_BLOCK:20"
  - "DIRT:10"
  - "OAK_LOG:9"
  - "BIRCH_LOG:3"
  - "DARK_OAK_LOG:3"
  - "STONE:12"
  - "COBBLESTONE:5"
  - "OAK_LEAVES:6"
  - "SPRUCE_LEAVES:4"
  - "CLAY:5"
  - "GRAVEL:5"
  - "COAL_ORE:3"
  - "IRON_ORE:2"
  - "GOLD_ORE:2"
  - "DIRT_PATH:5"
  - "BONE_BLOCK:4"
  - "CHEST:2"

# A chest must be present in the block list
items:
  - "POPPY:1:6"
  - "DANDELION:1:4"
  - "EXPERIENCE_BOTTLE:2:8"
  - "LAPIS_LAZULI:4:4"
  - "LEAD:1:6"
  - "LEATHER:4:5"
  - "MUSIC_DISC_BLOCKS:1:1"
  - "EMERALD:2:2"
  - "ENCHANTED_BOOK:1:1"
  - "WHEAT_SEEDS:8:10"
  - "LADDER:4:4"
  - "FEATHER:4:3"
  - "SUGAR_CANE:6:9"
  - "OAK_FENCE:8:6"
  - "OAK_FENCE_GATE:1:6"
  - "COMPOSTER:1:5"
  - "BEETROOT_SEEDS:4:6"
  - "APPLE:1:6"
  - "WATER_BUCKET:1:5"
  - "BONE_BLOCK:4:1"
  - "COOKED_BEEF:2:2"

# A chest must be present in the block list
enchantments:
  - "PROTECTION_ENVIRONMENTAL:1:18"
  - "PROTECTION_ENVIRONMENTAL:2:16"
  - "PROTECTION_FIRE:1:17"
  - "PROTECTION_FIRE:2:16"
  - "PROTECTION_FALL:1:17"
  - "PROTECTION_FALL:2:16"

mobs:
  # Spawn mob randomly (-1 to disable)
  percentage: 50
  # Spawn mob every x block (-1 to disable)
  every-x-block: 75
  list:
    - "SPIDER:15"
    - "SHEEP:25"
    - "CHICKEN:13"
    - "COW:20"
    - "PIG:17"
    - "SKELETON:10"
```

{% endcode %}

### Formats

"<mark style="color:red;">Material:Percentage</mark>"

"<mark style="color:red;">Item:Amount:Percentage</mark>"\
"<mark style="color:red;">Item:Amount:Percentage:Enchantment:Level</mark>" "<mark style="color:red;">Item:Amount:Percentage:Enchantment:Level:Enchantment:Level: ...</mark>"

"<mark style="color:red;">Mob:Percentage</mark>"\
"<mark style="color:red;">Enchantment:Level:Percentage</mark>"
