Repository navigation
Server Owners
Home › Servers & modpacks › Server Owners
Everything a server owner or pack maker can switch, scale or replace in Hempdustry 2.2 without a line of code, in one place: both config files and every key, the game rules, the commands that show what a server runs with, the datapack registries and the files they read, the tags that act as switches, removing wild plants, and the recipes a pack without smoking or edibles drops. The long explanation of each 2.1 setting stays on Configuration; installing and presets are on Server Guide.
Coming in 2.2: nothing on this page has shipped yet. It describes the 2.2 build for Minecraft 26.3 on Fabric and NeoForge, ahead of the 2.2.0 release, and may still move before then. The 1.21.11 and 1.21.1 builds of 2.2 are meant to match it; where one differs, this page will say so when it ships. Everything 2.1.1 already has keeps working as Configuration describes it.
On this page: What takes effect when · The two config files · hempdustry.json · hempdustry-client.json · Game rules · Seeing what a server runs with · Datapack registries · The grow climate file · The genetics file · The Sifting Box's recipes · Tags that act as switches · Removing wild plants · Refusing a hit from code · A pack without smoking or edibles
| You changed | It takes effect |
|---|---|
effects, world or infuser in config/hempdustry.json
|
at once, with /hempdustry reload (permission level 2) |
loot in config/hempdustry.json
|
/hempdustry reload, then /reload, which rebuilds the loot tables — or a restart. A chest already opened keeps what it had |
a player's config/hempdustry-client.json
|
when that player's game starts; in a game that hosts its own world, /hempdustry reload too |
| a game rule | at once, with /gamerule, in that world only |
| recipes (the Sifting Box's included), tags, loot tables, advancements | /reload |
| anything in the datapack registries: strains, terpenes, devices, edibles, the green-out, the grow climate, the genetics |
a restart (in single player, close and reopen the world). Neither /reload nor /hempdustry reload re-reads them |
| worldgen: biome tags, placed features, NeoForge's biome modifiers | a restart, and only in chunks generated afterwards |
2.2 splits the config in two, so a modpack update can replace the server's settings without wiping each player's own choices.
-
config/hempdustry.jsonis the server's: 29 keys in four sections,effects,world,infuserandloot. A player's own copy does nothing on someone else's server. In single player it is the game's own and applies to every world. -
config/hempdustry-client.jsonis each player's: 6 keys in oneclientsection, read by their game alone and sent nowhere. A dedicated server never reads or writes it. -
hempdustry.jsonkeeps itsclientsection. It no longer changes anything in a running game; what it does now is start a player'shempdustry-client.jsonthe first time their game has none, once. So a pack sets the choices its players start with there (updateCheck: false, say), and should not shiphempdustry-client.jsonitself. A game updated from 2.1 carries its ownclientsection over into the new file the first time it starts.
Both files behave as hempdustry.json always has (Server Guide): rewritten in full, keys in alphabetical order, every time they are read; a missing key comes back at its default; a value out of range is pulled into range and logged. From 2.2 each section's _comment names every key with its default and range, in the form maxLevel (default 4, 1-10), so the file explains itself.
From 2.2 a typo costs only itself:
-
A value of the wrong type (
"debuffs": "false"written as a word, a word where a number goes) keeps what was running for that value alone, the default at start-up or the last good read after/hempdustry reload; every other value in the file applies. The log names each value it kept, and/hempdustry reloadlists them. A section written as something other than a section keeps its own the same way. Until 2.1 one such value made the whole file count for nothing. -
A key the mod does not know, a misspelled
creepersSeekhempsay, is named in a warning in the log. It changes nothing, and it is left out the next time the file is written, so read the log after editing. - A file that is not JSON at all applies nothing.
- In all three cases the file is left exactly as it is, so the typo can be found and fixed.
Keys added in 2.2 are marked From 2.2; the rest are 2.1's, explained at length on Configuration.
| Key | Default | Range | What it does |
|---|---|---|---|
enabled |
true |
— | The master switch. false is hemp only: no effects from smoking or edibles, and no green-outs |
maxLevel |
4 |
1–10 | The highest level any effect from the mod reaches, costs included |
maxBuffLevel |
2 |
1–10 | The highest level a helpful effect reaches. Never above maxLevel
|
durationMultiplier |
1.0 |
0.05–10.0 | Scales how long every effect lasts, smoked or eaten. From 2.2 it also scales an edible's short Regeneration, and so its heal |
cooldownMultiplier |
1.0 |
0.0–10.0 | Scales every smokeable's cooldown and a green-out's lock-out; 0 is none |
greenOutChanceMultiplier |
1.0 |
0.0–100.0 | Scales the odds of a green-out; 0 is never. A single bud still never greens you out |
onsetMultiplier |
1.0 |
0.05–10.0 | Scales how long an edible takes to kick in |
greenOut |
true |
— |
false: no green-outs, ever |
nausea |
true |
— |
false: the mod never applies Nausea |
munchies |
true |
— |
false: the mod never applies Hunger |
debuffs |
true |
— |
false: no harmful effect at all, and those in #hempdustry:counts_as_harmful (Glowing) with them; so no green-outs either |
Read by: the server. Takes effect: /hempdustry reload, at once.
A world can also turn enabled and greenOut off for itself alone, with game rules.
| Key | Default | Range | What it does |
|---|---|---|---|
cropGrowthMultiplier |
1.0 |
0.05–20.0 | How fast every strain grows, in fields, Grow Pots and Hydro Trays alike |
machineSpeedMultiplier |
1.0 |
0.05–20.0 | How fast the Decarboxylator and the Hemp Press work. From 2.2 players' JEI and REI pages and the press's screw follow the server's value |
creepersSeekHemp |
true |
— |
false: creepers no longer wander into open-sky hemp fields. From 2.2 the same switch also stops endermen coming to Ender Haze and drowned to ripe Maui Wowie, a harvested Ender Haze provoking the endermen, an opened Stash Jar or storage a player takes buds out of drawing creepers, and the smell of loose buds, or of buds in a bag, giving a player away to them, even sneaking; which mobs take the field and stash walks is the tags' say. The key keeps its 2.1 name; its game rule is hempdustry:mobs_drawn_to_hemp
|
mildew |
true |
— | From 2.2 hemp catches powdery mildew in the open too, rarely, and more often under glass or a roof. false: no plant catches it, and one that has it is clean on its next random tick |
plantStress |
true |
— |
From 2.2. false: nothing stresses flowering hemp into seeding its own buds (overfeeding, overwatering, a dry bed, a stagnant tray, bone-dry farmland, a lost light); a stressed plant is healthy again on its next random tick |
Read by: the server. Takes effect: /hempdustry reload, at once.
creepersSeekHemp, mildew and plantStress have game rules beside them. Whether bees pollinate hemp is a tag, not a setting: #minecraft:bee_growables, which takes hemp in through #minecraft:crops.
Note: from 2.2 the server sends each player
machineSpeedMultiplierand the two Infuser times when they join, so JEI and REI print the server's machine times and the Hemp Press's screw keeps the server's rhythm. After/hempdustry reloadchanges one of them, the command says so: the viewers keep their old pages until/reloador a rejoin. The machines themselves, and their progress bars, always follow the server.
| Key | Default | Range | What it does |
|---|---|---|---|
minTimeTicks |
6000 |
20–31980 | The earliest a batch can be taken out, in ticks (6000 = 5 minutes) |
fullTimeTicks |
18000 |
40–32000, and at least minTimeTicks + 20 |
A full simmer, which Perfect cannabutter needs, in ticks (18000 = 15 minutes) |
Read by: the server. Takes effect: /hempdustry reload, at once, on batches already simmering too.
| Key | Default | Range | What it does |
|---|---|---|---|
enabled |
true |
— |
false: the mod adds nothing to vanilla's loot tables, whatever the switches below it say |
chanceMultiplier |
1.0 |
0.0–10.0 | Scales every chance an addition comes with; each stays between 0 and 1 |
grassSeeds |
true |
— | From 2.2. Hemp seeds from broken tall grass and large ferns |
chestSeeds |
true |
— | From 2.2. Seed stashes in chests: dungeons, mineshafts, mansions, outposts, shipwrecks, village houses, the desert temple, the Nether's fortresses and bastions, end cities, camps, the Ancient City's ice box, ocean ruins. Off, most strains that grow wild in one place only are found only there |
chestBuds |
true |
— | From 2.2. Buds in Ancient City chests, buried treasure and bastion treasure, and schwag in shipwreck supply chests |
archaeologySeeds |
true |
— | From 2.2. Seeds in brushed suspicious sand and gravel, and in a sniffer's dig |
barterSeeds |
true |
— | From 2.2. Nether seeds among a piglin's barters |
shipwreckFiber |
true |
— | From 2.2. Hemp fibre and canvas in shipwreck supply chests |
fisherBait |
true |
— | From 2.2. Toasted hemp seeds in a village fisher's chest |
fishingJunk |
true |
— | From 2.2. Hemp fibre among fishing junk |
discs |
true |
— | From 2.2. The mod's music discs in dungeon and mansion chests. Creepers still drop them, by vanilla's tag |
Read by: the server. Takes effect: /hempdustry reload, then /reload.
The nine switches from grassSeeds down are new in 2.2: each takes away one kind of addition and leaves the others. enabled: false still takes everything. Where each addition goes is listed on Modpack Guide.
The loot tables are built when the server starts and by /reload, which does not read this file: after a change here, run /hempdustry reload and then /reload. /hempdustry reload says so whenever the loot settings it reads are not the ones the tables were built with, until a /reload builds them again.
On NeoForge every pool the mod adds to a table has a name, hempdustry:<kind>, the same whichever switches are off, so a KubeJS or loot-event script can find it: seeds, pale_seeds, grove_seeds, desert_seeds, nether_seeds, stable_seeds, end_seeds, city_seeds, ocean_seeds, grass_seeds, sniffer_seeds, buds, fibre, schwag, industrial_hemp_seeds, discs, and sport_seeds/<seeds id>, one per seed item however many strains share it (Dud Weed's: sport_seeds/hempdustry/dud_weed_seeds). Changed in 2.2: 2.1 numbered them hempdustry:added_0, added_1… in the order they went in. The rest are entries added inside vanilla's own pools, which have no name of their own. Fabric's pools have no names.
Watch out: with
chestSeeds: false, most strains that grow wild in one place only can still be found there, and nowhere else. Withdiscs: false, the two music discs come only from creepers.
| Key | Default | Range | What it does |
|---|---|---|---|
updateCheck |
true |
— | On start-up, ask whether a newer Hempdustry exists and say so once in chat. Turn it off in a modpack |
biomeTintStrength |
0.35 |
0–1 | How far Purple Kush and Lemon Haze are pulled towards the local grass colour; 0 is as painted, 1 vanilla's full grass tint |
ripeAroma |
true |
— | The wisps that curl off a ripe plant |
animations |
auto |
auto, vanilla, off
|
From 2.2. How the game animates a player smoking, coughing, sniffing a jar or kicking a footbag: auto follows whatever animates the rest of the body, vanilla keeps vanilla's rigid style, off shows none |
fanPuffs |
true |
— | From 2.2. The puffs of air a running Grow Fan lets off down its lane. The fan blows either way |
terpenePuffs |
true |
— | From 2.2. The puff a Stash Jar lets off when a hand opens it. The smell still gets out either way |
Read by: each player's own game, from config/hempdustry-client.json; a server never reads it. Takes effect: the player's game starts; in a game hosting its own world, /hempdustry reload.
biomeTintStrength shows once the chunks are redrawn (F3 + A), and so does a change /hempdustry reload reads. If the last read of this file failed, /hempdustry config says so: the values it lists are then the ones the game ran with before. On a server, a player's file still decides these for that player alone: the server cannot turn another player's particles on or off.
From 2.2. 5 boolean game rules let a world turn a switch off for itself alone, while the config turns it off everywhere. They sit under the heading Hempdustry on the Game Rules screen when a world is created, and /gamerule sets them in a running world:
/gamerule hempdustry:effects false
| Game rule | Shown as | Beside the config key | What it switches |
|---|---|---|---|
hempdustry:effects |
Hemp effects | effects.enabled |
Whether smoking, vaping and eating hemp give their effects. Off is industrial hemp only |
hempdustry:green_outs |
Green-outs | effects.greenOut |
Whether too big a hit can green a smoker out, swapping its effects for a bad turn |
hempdustry:mobs_drawn_to_hemp |
Mobs drawn to hemp | world.creepersSeekHemp |
Whether mobs are drawn to hemp: creepers wander into grown hemp fields, endermen into Ender Haze and drowned to ripe Maui Wowie; harvesting Ender Haze angers the endermen near it; an opened Stash Jar draws creepers, and so does any storage a player takes buds out of; the smell of loose buds, or of buds in a bag, gives a player away to them, even sneaking. Which mobs come to the fields and to a stash is set by the entity tags hempdustry:drawn_to_hemp and hempdustry:drawn_to_stash |
hempdustry:mildew |
Powdery mildew | world.mildew |
Whether hemp can catch powdery mildew: rarely in the open, more often under glass or a roof. Off, a plant that has it is clean on its next random tick |
hempdustry:plant_stress |
Plant stress | world.plantStress |
Whether flowering hemp can be stressed into seeding its own buds: overfed, overwatered, a dry bed, still water, a lost light. Off, a stressed plant heals on its next random tick |
Each one defaults to true, and the feature runs only where both the config key and the game rule are on. A rule can only take away what the file leaves on: with effects.enabled: false in the file, /gamerule hempdustry:effects true brings nothing back. A world keeps its game rules in its save, as vanilla's.
From 2.2. Two commands under /hempdustry, at permission level 2 beside reload (operators, command blocks, functions and the console), and one line in the log.
Lists every setting the server runs with and where each value comes from: the default, the file, or the world's game rule. Then, in a game that hosts its own world, the player's own hempdustry-client.json (a dedicated server says it reads none). Then each datapack registry: how many entries it holds and which came from a pack other than the mod's own, and whether that pack replaced a file the mod ships or added a new one.
/hempdustry config
It reports the registries as the world loaded them; after /reload with a changed datapack, a restart is still what brings a registry change in.
Tells everything about one of the mod's plants or a Stash Jar: the block you look at, or the one at a position you give.
/hempdustry inspect
/hempdustry inspect 120 64 -35
For a plant: its strain and age; its potency band, quality gene and resin step; its four resistances; the bud tiers a harvest right now would roll, and their odds; its light, and what it has seen at every step so far (open sky, a working Hydro Tray, a Grow Fan's wind, a dark night); whether its next growth step stresses it, and from what; its mildew, air and humidity; and anything holding its growth back. For a Stash Jar: how full it is, how many kinds it holds, and what is inside. It reads the plant without changing it, its genes as rolled (a plant yet to roll reads neutral), and never loads a chunk: a plant whose surroundings, as far as a Grow Fan's lane, are not all loaded is told as such, with nothing around it read. Where a resistant plant would lose its light, or an Echo OG stand in too much of it, it says the next step may stress it, and how often the plant shrugs that off. It is an operator's tool on purpose: it tells the genes a player is meant to find out by growing.
When the server has started, the mod writes one line to the log naming everything that differs from what it ships: each config value off its default, each setting a game rule turns off, and each datapack registry entry another pack replaced or added. On the mod's defaults it writes nothing.
It is logged at INFO by hempdustry; the message reads, for example:
Running with config values changed from their defaults: loot.grassSeeds=false (default true), effects.enabled=false (default true, game rule hempdustry:effects); datapack entries from packs other than the mod's own: hempdustry:grow_climate hempdustry:default replaced by file/greenhouse
It is what to look for in a log someone sends when hemp "does not work". It is written once, at start-up; a later /gamerule or /hempdustry reload is not logged, and /hempdustry config tells the current state.
7 registries are read from datapacks when a world opens. The server sends them to every player, so only the server needs the datapack; players do not.
| Registry | Folder in a datapack | Shipped entries | A partial file | Holds |
|---|---|---|---|---|
hempdustry:terpene |
data/<namespace>/hempdustry/terpene/ |
12 (borneol … terpinolene) |
no: write every field | From 2.2. Each terpene's colour and name, which a strain's chemotype names |
hempdustry:strain |
data/<namespace>/hempdustry/strain/ |
18 (beldia … white_widow) |
no: write every field | Every strain and every smokeable resin; 2.2 adds potency, genes, resin, resistances and a chemotype to the sheet |
hempdustry:device |
data/<namespace>/hempdustry/device/ |
bong, spliff, vaporizer, wooden_pipe
|
no: write every field | The spliff, pipe, bong and vaporizer: duration, cooldown, cough, nausea and green-out odds |
hempdustry:edible |
data/<namespace>/hempdustry/edible/ |
default |
no: write every field | The edibles' effects by dose and quality, onset and length |
hempdustry:green_out |
data/<namespace>/hempdustry/green_out/ |
default |
no: write every field | The green-out's odds by dose, its effects and lock-out |
hempdustry:grow_climate |
data/<namespace>/hempdustry/grow_climate/ |
default |
yes: leave out any key | From 2.2. Powdery mildew's odds by air and humidity, the Grow Fan's lane, the Dehumidifier's reach, the plant-stress odds, bone meal's failures |
hempdustry:genetics |
data/<namespace>/hempdustry/genetics/ |
default |
yes: leave out any key | From 2.2. What bud tiers, potency bands, resin steps and resistance steps are worth |
-
Where the files go:
data/<namespace>/hempdustry/<registry>/<id>.jsoninside a datapack — note the extrahempdustry/folder after the namespace. A file put straight underdata/<namespace>/<registry>/is silently ignored. The mod reads one entry,default, fromgrow_climate,genetics,edibleandgreen_out; to change it, put your file at the mod's own path,data/hempdustry/hempdustry/grow_climate/default.json, in a pack above the mod's. -
A datapack is a folder or zip in the world's
datapacks/folder (world/datapacks/on a server). A modpack can also ship it through a mod that loads global datapacks. -
KubeJS loads its
kubejs/data/folder as a datapack, so the same paths work there (kubejs/data/hempdustry/hempdustry/genetics/default.json) on a Minecraft version KubeJS runs on. KubeJS has no build for Minecraft 26.3 yet, so on 26.3 use a datapack. -
They need a restart.
/reloadre-reads recipes, tags and loot, but never these. -
A misspelled key is named in the log. Every key may be left out of the
grow_climateandgeneticsfiles, and a key left out reads as the shipped number; so a misspelled one would load as the shipped number without a word. When the server starts it reads both files it runs with and warns about each key in them the mod does not read, naming the entry and the pack whose file it is. - A partial file: the grow climate and the genetics files may leave out any key, nested ones too; a key left out keeps the built-in number. So a pack that changes one number writes that one number, and a later version that adds a key does not break the pack. The other registries need each entry written in full.
- A broken entry stops the world loading, as any broken datapack registry entry does, and so does a genetics value out of its range. Test on a copy of the world. A file that is simply missing falls back to the built-in numbers.
From 2.2. data/hempdustry/hempdustry/grow_climate/default.json: powdery mildew's odds and what scales them, the Grow Fan's lane, the Dehumidifier's reach, the odds of each cause of plant stress, and bone meal's failures. 29 numbers; a key ending in _one_in is odds, so a larger number is rarer. The stress odds are for a plant of neutral resistance; a plant's own resistance then scales them.
| Key | Shipped | Range | What it is |
|---|---|---|---|
onset_one_in |
1500 |
1 or more | a growth step brings mildew 1 in this many times, before air, humidity and resistance |
spread_one_in |
100 |
1 or more | a mildewed plant reaches the neighbour it picks 1 in this many times, before that neighbour's climate |
air.open |
1.0 |
0–64 | factor on the mildew odds under open sky |
air.stirred |
3.0 |
0–64 | under a roof the sun still reaches |
air.still |
6.0 |
0–64 | in a sealed room |
humidity.dry |
0.5 |
0–64 | factor on the mildew odds, dry |
humidity.normal |
1.0 |
0–64 | normal |
humidity.damp |
2.0 |
0–64 | damp |
humidity.soaked |
4.0 |
0–64 | soaked |
biome.dry_below_downfall |
0.3 |
any | a biome with less rainfall (downfall) than this makes its plants one step drier |
biome.wet_from_downfall |
0.85 |
any | a biome with at least this rainfall… |
biome.wet_from_temperature |
0.5 |
any | …and at least this warm makes its plants one step wetter |
wet_reach |
2 |
0–4 | how far, in blocks, standing water around a roofed plant makes its room wet |
trimmed |
0.75 |
0–64 | factor on the mildew odds for a plant trimmed in either window |
fan.ahead |
9 |
1–16 | the Grow Fan's lane, in blocks ahead of it |
fan.side |
2 |
0–4 (5–8 reads as 4, with a warning) | blocks to each side of the fan's line (the lane is 2 × side + 1 wide) |
fan.below |
3 |
0–4 (5–8 reads as 4, with a warning) | how far below the fan a plant it blows on may stand |
fan.above |
1 |
0–4 (5–8 reads as 4, with a warning) | how far above it |
dehumidifier.reach |
4 |
0–8 | the Dehumidifier's reach to each side (a square 2 × reach + 1 across) |
dehumidifier.below |
2 |
0–8 | how far below it |
dehumidifier.above |
2 |
0–8 | how far above it |
dehumidifier.dries |
2 |
0–3 | humidity steps it takes off a roofed plant in reach |
dehumidifier.steps_per_level |
64 |
1 or more | growth steps of the plants it dries that make one level of condensate in its tank |
stress.overfed_one_in |
9 |
1–1,000,000 | bone meal on a plant in a fed Grow Pot or Hydro Tray stresses it 1 in this many times |
stress.overwatered_one_in |
4 |
1–1,000,000 | a bottle poured into a pot that is still wet |
stress.dry_bed_one_in |
3 |
1–1,000,000 | a growth step in a dry pot or tray |
stress.stagnant_one_in |
6 |
1–1,000,000 | a growth step in a watered tray with its pump off |
stress.dry_field_one_in |
20 |
1–1,000,000 | a growth step on bone-dry farmland |
bone_meal_fails_one_in |
3 |
1–1,000,000 | bone meal on a hemp plant does nothing (and is still used up) 1 in this many times |
A pack that wants mildew twice as rare and a longer fan lane writes only this:
{
"onset_one_in": 3000,
"fan": { "ahead": 12 }
}The Grow Fan's and the Dehumidifier's pages in JEI and REI read their numbers from this file, so they stay true when a pack changes them. A wall in the lane stops the fan's wind, line by line; what lets it through is #hempdustry:fan_passes_through. world.mildew and world.plantStress in the config, or their game rules, still switch the whole thing off.
From 2.2. data/hempdustry/hempdustry/genetics/default.json: what each bud tier, potency band, resin step and resistance step is worth. 51 numbers. A value out of its range refuses the file, and with it the world.
Bud tiers. They sit in the file's tiers object, one object per tier (mids, dank, top_shelf, epic), so a pack that only lowers Mids' weight writes { "tiers": { "mids": { "weight": 50 } } }; a mids object at the top of the file is not read. weight and quality decide a harvest's tier as vanilla weighs a loot entry: weight + quality × luck, never below 0, where luck is the plant's grow luck plus the harvester's Luck attribute. The other four multiply what the bud does when smoked: the device's cough, nausea and green_out odds, and the duration of its own effects.
| Tier | weight |
quality |
cough |
duration |
nausea |
green_out |
|---|---|---|---|---|---|---|
tiers.mids |
60 |
-10 |
1.5 |
0.75 |
1.0 |
1.0 |
tiers.dank |
35 |
4 |
1.0 |
1.0 |
0.75 |
0.75 |
tiers.top_shelf |
0 |
6 |
0.5 |
1.25 |
0.5 |
0.5 |
tiers.epic |
-6 |
2 |
0.0 |
1.5 |
0.0 |
0.25 |
| range | −1024–1024 | −64–64 | 0–4 | 0.25–2 | 0–4 | 0–4 |
A tier buys smoothness and length, never a higher level, and the ranges keep it so: no number here reaches an effect's level, a green-out factor of 0 means never, and a single bud still never greens you out.
Bands, resin and resistances. band_offsets is the decarboxylated hemp a low, high or extra-high bud makes beside a mid one's. resin.sieve multiplies a bud's rate at the Sifting Box by its resin step; resin.rub_one_in is a ripe plant's odds of charas when rubbed; the two share objects split a rich plant's bonus between the sieve and the rub by texture. resistance.stress_factor multiplies each cause of stress by the plant's resistance step; light_loss_age is the age from which a lost light stresses it; ignores_lost_light is how often a resistant plant shrugs a lost light off.
| Key | Shipped | Range |
|---|---|---|
band_offsets.low |
-1 |
−3–0 |
band_offsets.high |
1 |
0–4 |
band_offsets.extra_high |
2 |
0–4 |
resin.sieve.very_low |
0.5 |
0–1 |
resin.sieve.low |
0.75 |
0–1 |
resin.sieve.rich |
1.5 |
1–4 |
resin.sieve.very_rich |
2.0 |
1–4 |
resin.rub_one_in.very_low |
8 |
4–64 |
resin.rub_one_in.low |
6 |
4–64 |
resin.rub_one_in.rich |
3 |
1–4 |
resin.rub_one_in.very_rich |
2 |
1–4 |
resistance.stress_factor.very_weak |
2.0 |
1–8 |
resistance.stress_factor.weak |
1.5 |
1–8 |
resistance.stress_factor.resistant |
0.5 |
0–1 |
resistance.stress_factor.very_resistant |
0.25 |
0–1 |
resistance.light_loss_age.very_weak |
3 |
1–4 |
resistance.light_loss_age.weak |
3 |
1–4 |
resistance.light_loss_age.resistant |
4 |
4–7 |
resistance.light_loss_age.very_resistant |
4 |
4–7 |
resistance.ignores_lost_light.resistant |
0.5 |
0–1 |
resistance.ignores_lost_light.very_resistant |
0.75 |
0–1 |
resin.sieve_share.dry |
1.0 |
0–1 |
resin.sieve_share.even |
0.5 |
0–1 |
resin.sieve_share.sticky |
0.5 |
0–1 |
resin.rub_share.dry |
0.0 |
0–1 |
resin.rub_share.even |
0.5 |
0–1 |
resin.rub_share.sticky |
1.0 |
0–1 |
The middle of each ladder is not in the file and cannot move: a mid band adds nothing, an average resin step sieves at ×1 and rubs 1 in 4, a neutral plant keeps the odds as they are and loses its light from age 4. Items and plants from 2.1, which carry no genes, read as those middles, so they never change. Each step stays on its own side of the middle: a weak plant is never hardier than a neutral one, a rich resin never sieves worse than average. The default odds of each band are per strain, in the strain's own file.
From 2.2. The Sifting Box's rates are recipes of the type hempdustry:sifting, one per input, in data/<namespace>/recipe/, so /reload reads them and JEI and REI show them. The shipped four:
| Recipe | Ingredient | screen |
levels |
resin_levels |
|---|---|---|---|---|
hempdustry:sifting/flower |
#hempdustry:siftable/flower |
plant |
1.0 |
1.0 |
hempdustry:sifting/kief |
#hempdustry:siftable/kief |
kief |
0.25 |
— |
hempdustry:sifting/resinous |
#hempdustry:siftable/resinous |
plant |
2.0 |
1.0 |
hempdustry:sifting/trim |
#hempdustry:siftable/trim |
plant |
0.15 |
— |
{
"type": "hempdustry:sifting",
"ingredient": "#hempdustry:siftable/flower",
"screen": "plant",
"levels": 1.0,
"resin_levels": 1.0
}-
ingredient(required): any ingredient. The shipped recipes name the#hempdustry:siftable/*tags, which stay the easiest way to add an item at an existing rate. -
screen(defaultplant):plantfor buds and leaves,kieffor the finer second pass. The two never share a batch. -
levels(required, 0 to 7): how far one piece fills the screen, which takes 7 levels. The whole part is certain and the fraction is a chance:0.15is a 15% chance of a level. A wash in iced water multiplies it by the kind of ice around the box. -
resin_levels(optional, 0 to 7): for a bud that carries a resin step, used instead oflevels, times that step'sresin.sievefactor from the genetics file for its strain's texture. A strain's bud with no step written on it carries the step its harvest leaves unwritten: very rich in#hempdustry:siftable/resinous(a very rich Beldía, or one from 2.1), average in any other tag. So every bud of a strain is read by its step, and a recipe'slevelsreaches only what is not a strain's bud (a leaf, kief, an item a pack adds): to move a strain's buds, moveresin_levels.
A piece no recipe names is refused, so removing every sifting recipe switches the box off, and removing one narrows it. A batch already in a box can still be collected. When two recipes name the same piece, it takes the one it would sieve fastest by, its resin step counted, then the lowest id: a pack's flat recipe at levels: 1.2 takes a very low bud (0.5 by the mod's) and a plain one (1), and leaves a rich one (1.25) to the mod's. A piece a recipe names at no levels at all, plain or stepped, is refused with a line saying it has too little resin to sift. What a batch becomes (kief, bubble hash or filtered kief) is the box's own and not in the recipe.
JEI and REI show each recipe's rate as about how many pieces fill a batch, and for a recipe with resin_levels, about how many stepped buds do (4 to 14 for the shipped one level), each in every ice jacket too.
Each of these decides a mechanic by what it holds. Add to one in a datapack, or write it with "replace": true to take entries out. /reload applies a tag change.
| Tag | Kind | Ships with | What it decides |
|---|---|---|---|
#hempdustry:drawn_to_hemp |
entity type | minecraft:creeper |
From 2.2. Mobs that now and then wander into a grown, open-sky hemp field and lurk there. Only a mob that walks by paths can take the walk |
#hempdustry:drawn_to_stash |
entity type | minecraft:creeper |
From 2.2. Mobs an opened Stash Jar draws to it, and any storage a player takes buds out of, and that smell loose buds on a player, even sneaking |
#hempdustry:hemp_crops |
block | 13 entries | What counts as a hemp plant: the field creepers seek, Trim Season, a Grow Pot or Hydro Tray harvesting the plant on it when broken |
#hempdustry:mildew_resistant |
block | nothing | Crops that never catch powdery mildew |
#hempdustry:fan_passes_through |
block |
#minecraft:bars, #minecraft:fences, #minecraft:fence_gates, the eight copper grates, mangrove roots, and #c:fences and #c:fence_gates (optional) |
From 2.2. What a Grow Fan's wind blows through whatever its shape. Anything else in the lane stops the wind when its collision shape covers three quarters of the face the wind meets: a full block, leaves, a chest, stairs, a closed door or a pane window across the wind stop it; a slab, a bed, a lantern, a lone pane or post, a closed trapdoor lying flat let it by. A block cuts only its own line of the lane, one block wide and high; the plants beside it are still blown on. A pack adds its own grilles and meshes here |
#hempdustry:leaks_the_smell |
item |
#minecraft:bundles, and the backpacks of Sophisticated Backpacks, Traveler's Backpack, Nemo's Backpacks and yyz's Backpack (each optional) |
From 2.2. The bags that let the smell of the buds inside them out: carried, or worn in a Curios or Trinkets slot, a bag of buds gives a player away as loose buds do. Anything else carried that holds items holds the smell in (a chest, a shulker box, a Stash Jar until a hand opens it). A pack adds its own bags here |
#hempdustry:stash_jar_storable |
item |
#hempdustry:buds, hempdustry:schwag
|
From 2.2. What a Stash Jar takes, by hand, hopper or pipe |
#hempdustry:siftable/flower |
item | 10 entries | What the Sifting Box takes as flower; siftable/resinous, siftable/trim and siftable/kief beside it, each the ingredient of one sifting recipe
|
#hempdustry:counts_as_harmful |
effect | minecraft:glowing |
From 2.2. Effects effects.debuffs: false takes away although vanilla does not count them as harmful |
#hempdustry:hush_silences |
game event | 14 entries | From 2.2. The vibrations Hush, Echo OG's effect, silences: those a body makes by itself (steps, swimming, eating, putting armour on). Whatever a body does to the world is still heard |
-
The two mob tags are new in 2.2 and replace a rule written into the creeper itself. A mob put into one by
/reloadtakes the walk once it is made again (a chunk loaded, a new spawn); one taken out stops at once. A modded creeper takes neither walk unless a pack lists it, even if it is a creeper underneath; listed in a tag, it takes that tag's walk (both, if it is in both), whatever goals of its own it has. Only mobs moved by goals take a walk: a mob a Brain walks (a villager, a piglin, a goat, an axolotl) takes none, whatever the tags say. A mob with a target never starts a walk and stops one under way, the shipped ones too: an enderman angry at a player it cannot reach, a drowned hit on land by day, or a creeper whose target is out of its path does not go to the plants while it hunts. A mod that lists its creepers in#c:creepersis added in one entry:{"id": "#c:creepers", "required": false}. -
world.creepersSeekHemp, and the game rulehempdustry:mobs_drawn_to_hempbeside it, stay the one switch over both tags: with either off, no listed mob takes either walk. - The other tags are on Tags, with what each holds in 2.1.
To stop creepers being drawn to a stash while keeping the fields, a datapack writes data/hempdustry/tags/entity_type/drawn_to_stash.json:
{ "replace": true, "values": [] }Every wild plant generates in the biomes of one biome tag, on Fabric and NeoForge alike (NeoForge reads each through one of the mod's biome modifiers). Empty a tag and that plant stops generating. 16 tags:
| Biome tag | Wild plant | Entries |
|---|---|---|
#hempdustry:beldia_gen |
wild Beldía (a ripe crop) | 1 |
#hempdustry:cherry_wine_gen |
Wild Cherry Wine | 3 |
#hempdustry:crimson_gen |
wild Crimson Weed (a ripe crop) | 1 |
#hempdustry:ditchweed_gen |
Ditchweed | 6 |
#hempdustry:echo_og_gen |
wild Echo OG (a ripe crop) | 1 |
#hempdustry:ender_haze_gen |
wild Ender Haze (a ripe crop) | 1 |
#hempdustry:indica_flower_gen_cave |
Wild Purple Kush, underground | 3 |
#hempdustry:indica_flower_gen |
Wild Purple Kush | 27 |
#hempdustry:maui_wowie_gen |
Wild Maui Wowie | 3 |
#hempdustry:ruderalis_gen |
wild Ruderalis (a ripe crop) | 1 |
#hempdustry:ruderalis_snowy_gen |
wild Ruderalis (a ripe crop), in snowy biomes | 1 |
#hempdustry:sativa_flower_gen |
Wild Lemon Haze | 18 |
#hempdustry:sativa_flower_gen_rare |
Wild Lemon Haze, rarest | 2 |
#hempdustry:sativa_flower_gen_sparse |
Wild Lemon Haze, thinner | 5 |
#hempdustry:warped_kush_gen |
wild Warped Kush (a ripe crop) | 1 |
#hempdustry:white_widow_gen |
Wild White Widow | 1 |
To remove Wild Lemon Haze from every badlands, for example, a datapack writes data/hempdustry/tags/worldgen/biome/sativa_flower_gen_rare.json:
{ "replace": true, "values": [] }This needs a restart and changes only chunks generated afterwards; plants already in the world stay. Removing a wild plant can leave a strain's seeds to loot alone; with the loot switches off as well, that strain may not be had in survival at all.
A mod can refuse any single hit of any smokeable before anything is spent: no effect, no cooldown, no bud and no durability lost. On Fabric it is the HempdustryEvents.ALLOW_SMOKE callback (return false); on NeoForge, AllowSmokeEvent on the game bus (cancel it). It hands over the player, what is in the device, and the device. That is the way to make smoking depend on a region, a rank or a dimension. The code, and the other addon events, are on Addon Development.
KubeJS has no build for Minecraft 26.3, so on 26.3 a script cannot listen to the event; a small addon mod can. Without code, effects.enabled: false or the game rule hempdustry:effects takes every effect away, server-wide or in one world.
For a pack that wants hemp as a crop and a building material and nothing to smoke or eat, effects.enabled: false already takes every effect away. To take the items out of reach as well, drop these recipes. Every id below is a recipe the 2.2 build ships.
| What | Recipe ids |
|---|---|
| the 20 smoking devices: every bong, the pipe, the vaporizer |
hempdustry:black_bong, hempdustry:blue_bong, hempdustry:bong, hempdustry:brown_bong, hempdustry:cyan_bong, hempdustry:gray_bong, hempdustry:green_bong, hempdustry:light_blue_bong, hempdustry:light_gray_bong, hempdustry:lime_bong, hempdustry:magenta_bong, hempdustry:orange_bong, hempdustry:pink_bong, hempdustry:purple_bong, hempdustry:red_bong, hempdustry:tinted_bong, hempdustry:vaporizer, hempdustry:white_bong, hempdustry:wooden_pipe, hempdustry:yellow_bong
|
| packing a pipe, a bong or the vaporizer | hempdustry:packing |
| the 111 spliff recipes | every hempdustry:spliff_… (listed below) |
| the 36 moon rock recipes | every hempdustry:moon_rock_… (listed below) |
| the edibles |
hempdustry:bhang_bucket, hempdustry:cannabutter_toast, hempdustry:dawamesk, hempdustry:space_brownie, hempdustry:space_cake, hempdustry:space_cookie
|
| cannabutter, the Infuser's only recipe | hempdustry:infusing |
Every spliff and moon rock recipe id
hempdustry:spliff_beldia_1
hempdustry:spliff_beldia_2
hempdustry:spliff_beldia_3
hempdustry:spliff_beldia_with_charas_2
hempdustry:spliff_beldia_with_charas_3
hempdustry:spliff_beldia_with_filtered_hashish_2
hempdustry:spliff_beldia_with_filtered_hashish_3
hempdustry:spliff_beldia_with_hashish_2
hempdustry:spliff_beldia_with_hashish_3
hempdustry:spliff_cherry_wine_1
hempdustry:spliff_cherry_wine_2
hempdustry:spliff_cherry_wine_3
hempdustry:spliff_cherry_wine_with_charas_2
hempdustry:spliff_cherry_wine_with_charas_3
hempdustry:spliff_cherry_wine_with_filtered_hashish_2
hempdustry:spliff_cherry_wine_with_filtered_hashish_3
hempdustry:spliff_cherry_wine_with_hashish_2
hempdustry:spliff_cherry_wine_with_hashish_3
hempdustry:spliff_crimson_1
hempdustry:spliff_crimson_2
hempdustry:spliff_crimson_3
hempdustry:spliff_crimson_with_charas_2
hempdustry:spliff_crimson_with_charas_3
hempdustry:spliff_crimson_with_filtered_hashish_2
hempdustry:spliff_crimson_with_filtered_hashish_3
hempdustry:spliff_crimson_with_hashish_2
hempdustry:spliff_crimson_with_hashish_3
hempdustry:spliff_dud_weed_1
hempdustry:spliff_dud_weed_2
hempdustry:spliff_dud_weed_3
hempdustry:spliff_dud_weed_with_charas_2
hempdustry:spliff_dud_weed_with_charas_3
hempdustry:spliff_dud_weed_with_filtered_hashish_2
hempdustry:spliff_dud_weed_with_filtered_hashish_3
hempdustry:spliff_dud_weed_with_hashish_2
hempdustry:spliff_dud_weed_with_hashish_3
hempdustry:spliff_echo_og_1
hempdustry:spliff_echo_og_2
hempdustry:spliff_echo_og_3
hempdustry:spliff_echo_og_with_charas_2
hempdustry:spliff_echo_og_with_charas_3
hempdustry:spliff_echo_og_with_filtered_hashish_2
hempdustry:spliff_echo_og_with_filtered_hashish_3
hempdustry:spliff_echo_og_with_hashish_2
hempdustry:spliff_echo_og_with_hashish_3
hempdustry:spliff_ender_haze_1
hempdustry:spliff_ender_haze_2
hempdustry:spliff_ender_haze_3
hempdustry:spliff_ender_haze_with_charas_2
hempdustry:spliff_ender_haze_with_charas_3
hempdustry:spliff_ender_haze_with_filtered_hashish_2
hempdustry:spliff_ender_haze_with_filtered_hashish_3
hempdustry:spliff_ender_haze_with_hashish_2
hempdustry:spliff_ender_haze_with_hashish_3
hempdustry:spliff_indica_1
hempdustry:spliff_indica_2
hempdustry:spliff_indica_3
hempdustry:spliff_indica_with_charas_2
hempdustry:spliff_indica_with_charas_3
hempdustry:spliff_indica_with_filtered_hashish_2
hempdustry:spliff_indica_with_filtered_hashish_3
hempdustry:spliff_indica_with_hashish_2
hempdustry:spliff_indica_with_hashish_3
hempdustry:spliff_maui_wowie_1
hempdustry:spliff_maui_wowie_2
hempdustry:spliff_maui_wowie_3
hempdustry:spliff_maui_wowie_with_charas_2
hempdustry:spliff_maui_wowie_with_charas_3
hempdustry:spliff_maui_wowie_with_filtered_hashish_2
hempdustry:spliff_maui_wowie_with_filtered_hashish_3
hempdustry:spliff_maui_wowie_with_hashish_2
hempdustry:spliff_maui_wowie_with_hashish_3
hempdustry:spliff_ruderalis_1
hempdustry:spliff_ruderalis_2
hempdustry:spliff_ruderalis_3
hempdustry:spliff_ruderalis_with_charas_2
hempdustry:spliff_ruderalis_with_charas_3
hempdustry:spliff_ruderalis_with_filtered_hashish_2
hempdustry:spliff_ruderalis_with_filtered_hashish_3
hempdustry:spliff_ruderalis_with_hashish_2
hempdustry:spliff_ruderalis_with_hashish_3
hempdustry:spliff_sativa_1
hempdustry:spliff_sativa_2
hempdustry:spliff_sativa_3
hempdustry:spliff_sativa_with_charas_2
hempdustry:spliff_sativa_with_charas_3
hempdustry:spliff_sativa_with_filtered_hashish_2
hempdustry:spliff_sativa_with_filtered_hashish_3
hempdustry:spliff_sativa_with_hashish_2
hempdustry:spliff_sativa_with_hashish_3
hempdustry:spliff_schwag_1
hempdustry:spliff_schwag_2
hempdustry:spliff_schwag_3
hempdustry:spliff_warped_kush_1
hempdustry:spliff_warped_kush_2
hempdustry:spliff_warped_kush_3
hempdustry:spliff_warped_kush_with_charas_2
hempdustry:spliff_warped_kush_with_charas_3
hempdustry:spliff_warped_kush_with_filtered_hashish_2
hempdustry:spliff_warped_kush_with_filtered_hashish_3
hempdustry:spliff_warped_kush_with_hashish_2
hempdustry:spliff_warped_kush_with_hashish_3
hempdustry:spliff_white_widow_1
hempdustry:spliff_white_widow_2
hempdustry:spliff_white_widow_3
hempdustry:spliff_white_widow_with_charas_2
hempdustry:spliff_white_widow_with_charas_3
hempdustry:spliff_white_widow_with_filtered_hashish_2
hempdustry:spliff_white_widow_with_filtered_hashish_3
hempdustry:spliff_white_widow_with_hashish_2
hempdustry:spliff_white_widow_with_hashish_3
hempdustry:moon_rock_beldia_charas
hempdustry:moon_rock_beldia_filtered_hashish
hempdustry:moon_rock_beldia_hashish
hempdustry:moon_rock_cherry_wine_charas
hempdustry:moon_rock_cherry_wine_filtered_hashish
hempdustry:moon_rock_cherry_wine_hashish
hempdustry:moon_rock_crimson_charas
hempdustry:moon_rock_crimson_filtered_hashish
hempdustry:moon_rock_crimson_hashish
hempdustry:moon_rock_dud_weed_charas
hempdustry:moon_rock_dud_weed_filtered_hashish
hempdustry:moon_rock_dud_weed_hashish
hempdustry:moon_rock_echo_og_charas
hempdustry:moon_rock_echo_og_filtered_hashish
hempdustry:moon_rock_echo_og_hashish
hempdustry:moon_rock_ender_haze_charas
hempdustry:moon_rock_ender_haze_filtered_hashish
hempdustry:moon_rock_ender_haze_hashish
hempdustry:moon_rock_indica_charas
hempdustry:moon_rock_indica_filtered_hashish
hempdustry:moon_rock_indica_hashish
hempdustry:moon_rock_maui_wowie_charas
hempdustry:moon_rock_maui_wowie_filtered_hashish
hempdustry:moon_rock_maui_wowie_hashish
hempdustry:moon_rock_ruderalis_charas
hempdustry:moon_rock_ruderalis_filtered_hashish
hempdustry:moon_rock_ruderalis_hashish
hempdustry:moon_rock_sativa_charas
hempdustry:moon_rock_sativa_filtered_hashish
hempdustry:moon_rock_sativa_hashish
hempdustry:moon_rock_warped_kush_charas
hempdustry:moon_rock_warped_kush_filtered_hashish
hempdustry:moon_rock_warped_kush_hashish
hempdustry:moon_rock_white_widow_charas
hempdustry:moon_rock_white_widow_filtered_hashish
hempdustry:moon_rock_white_widow_hashish
How to drop one with a datapack: recipes are ordinary datapack files, data/hempdustry/recipe/<path>.json. Copy the mod's file to the same path in your datapack and add both loaders' "never load" conditions to it, beside its type; one file then works on Fabric and NeoForge:
"fabric:load_conditions": [
{ "condition": "fabric:not", "value": { "condition": "fabric:true" } }
],
"neoforge:conditions": [
{ "type": "neoforge:false" }
],On a Minecraft version KubeJS runs on, ServerEvents.recipes(event => event.remove({ id: 'hempdustry:wooden_pipe' })) does the same per id.
What stays: plants still grow and drop buds, the Sifting Box, the Hemp Press and the Stash Jar still work, and buds and hash do nothing with effects off. With cannabutter gone, the Decarboxylator and the Infuser have nothing left to make; drop hempdustry:decarboxylator and hempdustry:infuser too if you would rather not show them. The advancements about smoking and edibles can then no longer be earned.
See also: Configuration · Server Guide · Commands · Datapacks · Tags · Modpack Guide
Hempdustry 2 by Warlon Mhite · Documents version 2.1.1 · Code AGPL-3.0, art and music CC BY-NC-SA 4.0 · Discord · Report a bug Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.
Getting started
- Installation
- Getting Started
- FAQ
- Minecraft 26.x
- Minecraft 1.16.5 and GanjaCraft
- Minecraft 1.18.2 and Hemp-Craft
Growing
Smoking
Hash
Kitchen
Building
Reference
Servers & modpacks
- Server Guide
- Server Owners (2.2)
- Configuration
- Config builder ↗
- Commands
- Modpack Guide
- Tags
- Datapacks
- Custom Strains
- Resource Packs
Developers
Contributing
About