Oraxen
  • Getting started
  • Frequently Asked Questions
  • Usage
    • Commands
    • Default items
    • Recipes
  • Configuration
    • Understanding the basics
    • Plugin settings
    • Items (beginners)
    • Items (advanced)
      • Dyeable Items
    • Custom Armors
      • Component Based (1.21.2+)
      • Trims Based (1.20-1.21.1)
      • Shader Based (1.18-1.19.4)
    • Custom HUD
    • Item Appearance
    • Glyphs
      • Custom Gui
  • Mechanics
    • Introduction
    • All mechanics
      • Custom mechanic
      • clickAction Mechanic
    • Furniture Mechanic
      • Furniture Position
      • Display-Entity Furniture
      • Farming Mechanic
    • NoteBlock mechanic
      • Stripped log Mechanic
      • Directional mechanic
      • Farmblock Mechanic
    • StringBlock Mechanic
      • Sapling Mechanic
  • Compatibility
    • BossShopPro - shop
    • CrateReloaded - crates
    • ModelEngine - custom mobs
    • MythicMobs - custom mobs
    • TrMenu - custom inventories
    • MMoItems
    • MythicCrucible
    • HappyHUD
    • World Generators
      • Iris World Generator
      • EpicWorldGenerator
      • Custom Ore Generator
      • RealisticWorldGenerator
  • Vendors
    • Vendor Guidelines
  • Developers
    • Create your own Mechanic
    • Add Compatibility with a plugin
    • Custom hosting service
    • API
Powered by GitBook
On this page
  • How does it work?
  • First stage
  • Second stage
  • Third stage

Was this helpful?

  1. Mechanics
  2. Furniture Mechanic

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.


PreviousDisplay-Entity FurnitureNextNoteBlock mechanic

Last updated 5 months ago

Was this helpful?

farmblock_required

dedicated tutorial page
Page cover image