Farmblock Mechanic
How to add your own blocks to the game
If you are looking to add customizable farming mechanics to your server, we heavily recommend looking into CustomCrops. 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.
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.
Do you want to know how to make custom plants? Click here
Last updated