Configuration
Plantations has one common config, config/plantations-common.toml. Every option has a comment in the file; this page is the overview for pack developers. Options are added together with the system that reads them, so everything listed here does something.
Plants
| Option | Default | Effect |
|---|---|---|
plants.cannabis.enabled | true | Turns cannabis off: its items leave the creative tab and JEI/EMI, its seeds stop dropping from grass and its recipes are disabled. Existing items and crops stay in the world. |
plants.cannabis.grassSeedDrops | true | Cannabis seeds can drop from grass outside cold biomes. |
plants.cannabis.wild | true | Wild cannabis patches generate in new chunks (biome tag plantations:has_wild/cannabis). |
plants.cannabis.wildRarity | 48 | On average one patch in this many chunks of a matching biome. |
Growth speed, climate, nutrients and bone meal (stages per use; cannabis gets 1 so bought bone meal can't become instant black market money) live in the plant definitions, see PLANTS.md.
How it works: recipes and loot use the plantations:config_flag condition, so datapacks can reuse the same switches (cannabis_enabled, cannabis_grass_seeds). Items are mapped to their plant in ModItems; plants added by datapacks are always enabled and are controlled by their datapack.
| plants.opium_poppy.enabled, wild, wildRarity | true, true, 64 | Same switches for the opium poppy. Every built-in plant has them. |
| plants.datura.spreads | true | Fruiting datura self-seeds into nearby empty farmland and beds. |
Recipes of a plant use the plantations:plant_enabled condition ({"type": "plantations:plant_enabled", "plant": "opium_poppy"}).
Organic
| Option | Default | Effect |
|---|---|---|
organic.clover | true | Clover seeds drop from grass; see SOIL.md. |
Balance
| Option | Default | Effect |
|---|---|---|
balance.mineralStrength | 1.0 | Multiplies the N, P and K of mineral (salt-carrying) inputs. Their salts stay the same. |
balance.livingSoilGrowth | 1.0 | Multiplies the soil life every input adds (compost, IMO, ferments, compost tea). |
Pests
| Option | Default | Effect |
|---|---|---|
pests.enabled | true | Aphids, spider mites, fungus gnats and powdery mildew on crops in beds. Off: no pests at all. See SOIL.md. |
Processing
| Option | Default | Effect |
|---|---|---|
processing.dryingSpeedMultiplier | 1.0 | Drying rack speed. |
Worldgen
| Option | Default | Effect |
|---|---|---|
worldgen.saltpeter, worldgen.apatite, worldgen.potash, worldgen.sulfur | true | Generate our ores; see MINERALS.md. Turn them off when another mod provides the same minerals. |
Effects
| Option | Default | Effect |
|---|---|---|
effects.dependency | LIGHT | OFF (no dependency or withdrawal), LIGHT (half speed, mild withdrawal), REALISTIC (full speed, withdrawal up to level III). |
effects.overdose | true | Too much poppy resin or Datura in a short time hurts and can kill. |
Client
Screen visuals of the effects live in the client config; see EFFECTS.md.
Black market
See BLACK_MARKET.md for the design.
| Option | Default | Effect |
|---|---|---|
blackMarket.enabled | true | Dealer, Burner Phone, Dead Drop and hideouts. |
blackMarket.currency | PLANTATIONS | PLANTATIONS (banknotes), EMERALD (1 emerald = 40 credits), NUMISMATICS (1 spur = 1 credit), LIGHTMANS (1 copper coin = 1 credit) or CUSTOM. The coin modes fall back to PLANTATIONS without their mod. |
blackMarket.customCurrency | minecraft:emerald=40 | Items for CUSTOM mode as item_id=credits (Numismatics and Lightman's Currency examples are in the file). |
blackMarket.heat | LIGHT | OFF, LIGHT (lower prices, the Dealer stops answering), FULL (plus raids). |
blackMarket.saturationScope | WORLD | One shared market or one per player. |
blackMarket.capacityMultiplier | 1.0 | How much the market absorbs per day before prices drop. |
blackMarket.dailyFluctuation | true | Daily price swings and a hot product. |
blackMarket.sharedStock | false | Offer stock shared by all players. |
blackMarket.dealerNightSpawns | true | Dealers appear at night near villages. |
blackMarket.dealerSpawnChance | 0.1 | Chance per 30 s check. |
blackMarket.hideouts | true | Rare hideouts with a permanent Dealer. |