Example

Here is an example with all the available factors:

mobs:
- name: pig
  conditions:
  - spawn: no
    world:
      raining: yes
      thundering: yes
      times:
      - {min: 1000, max: 5000}
      heights:
      - {min: 20, max: 50}
      biomes:
      - taiga
      - desert
      types:
      - normal
      - nether
      - the_end
      reasons:
      - custom
      - natural
      - egg
      - lightning
      - spawner
      - bed
    real:
      years:
      - {min: 2011, max: 2013}
      months:
      - jan
      - mar
      - 11
      dates:
      - {min: 2, max: 13}
      days:
      - mon
      - wed
      - 6
      hours:
      - {min: 2, max: 20}
      minutes:
      - {min: 25, max: 35}
      seconds:
      - {min: 10, max: 45}
      year_weeks:
      - {min: 5, max: 10}
      month_weeks:
      - {min: 1, max: 3}
      year_days:
      - {min: 100, max: 200}
  - spawn: yes