-
Notifications
You must be signed in to change notification settings - Fork 0
Misty World
roidrole edited this page May 31, 2026
·
2 revisions
Allows adding compostable items and setting the harvest level for crops
Importing class
import mods.roidtweaker.mistyworld.MistyWorld;All methods are static
| Method name | Parameters | Description |
|---|---|---|
| addCompostable | stack as IItemStack | Adds this stack as compostable |
| addHarvestType | block as IBlockDefinition, min as int, max as int | Sets the tier of soil needed for harvest. See below |
The soil types are the following:
- 1. Clay Soils (flowering, marsh plants, cereals)
- 2. Forest and Tropical Soils (vegetables)
- 3. Sandy and Stony Soils (tubers)
This means that attempting to set a tier lower than 1 or greater than 3 will error. You also cannot overwrite a default soil type.