Page cover

Farming Mechanic

How does it work?

Oraxen has a system for planting plants with various stages of growth, an example of how to configure it.

rose_plant:
  displayname: "<gradient:#46EEAA:#2CBFC7>Rose Plant"
  material: COOKED_BEEF
  Pack:
    generate_model: false
    model: custom/plants/rose_stage_1

rose_seed:
  displayname: "<gradient:#46EEAA:#2CBFC7>Rose Seed"
  material: PAPER
  Mechanics:
    furniture:
      item: rose_plant_stage1
      barrier: false
      farmblock_required: true
      dryout: 10000
      evolution:
        delay: 10000
        probability: 0.5
        light_boost: true
        next_stage: rose_plant_stage1
      drop:
        silktouch: true
        loots:
          - { oraxen_item: rose_seed, probability: 1.0 }
  Pack:
    generate_model: false
    model: custom/plants/rose_stage_1

First stage

rose_plant_stage1:
  material: PAPER
  Mechanics:
    furniture:
      barrier: false
      farmblock_required: true
      dryout: 10000
      evolution:
        delay: 10000
        probability: 0.5
        light_boost: true
        next_stage: rose_plant_stage2
      drop:
        silktouch: true
        loots:
          - { oraxen_item: weed_seed, probability: 1.0 }
  Pack:
    generate_model: false
    model: custom/plants/rose_stage_1

Second stage

rose_plant_stage2:
  material: PAPER
  Mechanics:
    furniture:
      barrier: false
      farmblock_required: true
      dryout: 10000
      evolution:
        delay: 10000
        probability: 0.5
        light_boost: true
        next_stage: rose_plant_stage3
      drop:
        silktouch: true
        loots:
          - { oraxen_item: weed_seed, probability: 1.0 }
  Pack:
    generate_model: false
    model: custom/plants/rose_stage_2

Third stage

rose_plant_stage3:
  material: PAPER
  Mechanics:
    furniture:
      barrier: false
      farmblock_required: true
      dryout: 10000
      evolution:
        delay: 100000
        probability: 0.25
        light_boost: true
      drop:
        silktouch: true
        loots:
          - { oraxen_item: rose_seed, max_amount: 2, probability: 0.75 }
          - { oraxen_item: rose_plant, max_amount: 5, probability: 0.55 }
  Pack:
    generate_model: false
    model: custom/plants/rose_stage_3

The plants can have the stages you decide, and the stages have to be a model created by you and not by the plugin for it to work. Now let's explain each mechanic farmland_required It is to be placed only in fertile soil.

delay the time in ticks that it takes to grow probability to grow when the delay is passed light_boost when it has light nearby it grows faster next_stage you specify the next stage, it has to be an already created Oraxen item.

farmblock_required dedicated tutorial page


Last updated

Was this helpful?