If you are looking to add customizable farming mechanics to your server, we heavily recommend looking into .
It is a well-made plugin with full Oraxen compatibility.\
How does it work?
This is a block system for custom plants and crops where you have your own watering system to make the plant grow.
Global configuration
The global configuration has to be used to activate or deactivate this mechanism.
noteblock:
tool_types:
- WOODEN
- STONE
- IRON
- GOLDEN
- DIAMOND
- NETHERITE
farmblock_check_delay: 1000 # ticks between each check for dryout
enabled: true
harvesting:
enabled: true
watering:
enabled: true
How to create a simple farmblock?
Oraxen item and Pack configuration
In this case you cannot create blocks using this mechanics without having a pre-made model, and you have to create 2 models for each item, one with water and one without
In this example there are 2 blocks configured separately
epic_box_dry is the Farmblock dry and
epic_box_wet is the model with water.
farmBlockPath is the Oraxen item to be transformed into if it has no water
moistFarmBlockPath is the Oraxen item it will become if it has water.
farmBlockDryOutTime the time in which the water will run out\
How do I water my blocks?
Oraxen has a watering can system that allows with a custom item to water a Farmblock and this also requires 2 models, one with water and one without, this is an example.
epic_watering_vacuum:
displayname: '<white>Epic Watering Vacuum'
material: LEATHER_HORSE_ARMOR
Mechanics:
watering:
filledCanItem: epic_watering_full #Item to replace when can is filled
Pack:
generate_model: false
model: items/epic_watering_vacuum
epic_watering_full:
displayname: '<white>Epic Watering Full'
material: LEATHER_HORSE_ARMOR
Mechanics:
watering:
emptyCanItem: epic_watering_vacuum #Item to replace when can is empty
Pack:
generate_model: false
model: custom/plants/epic_watering_full