Skip to content

Commands

Warlon Mhite edited this page Nov 8, 2026 · 4 revisions

Home › Servers & modpacks › Commands

Hempdustry adds one command, /hempdustry reload. This page covers it, and the vanilla commands that are most useful with the mod: giving items (including a packed bong or a dosed edible), finding where wild hemp grows, testing loot, and resetting advancements. For server owners, pack makers and anyone testing in a creative world.

On this page: /hempdustry reload · Giving items · Packed devices and dosed edibles · The time marker · Other vanilla commands

/hempdustry reload

Re-reads config/hempdustry.json without a restart.

Permission level 2 — operators, command blocks, functions and the server console. The same bar vanilla puts on /reload and /gamerule. Players below it do not see /hempdustry at all, not even in tab completion
Success Hempdustry config reloaded. — shown to whoever ran it, sent to the other operators online and written to the server log, the way vanilla announces a /gamerule change
Failure Could not read config/hempdustry.json, so nothing changed — the server log says why. The file is left exactly as it is, and the settings already running stay
Loaders the same on Fabric and NeoForge, Minecraft 26.3, 26.2, 1.21.11 and 1.21.1, and on Forge, Minecraft 1.18.2 and 1.16.5
/hempdustry reload

From the server console, without the slash: hempdustry reload. /hempdustry on its own does nothing; reload is its only subcommand.

What it re-reads, and what it does not:

Changed /hempdustry reload is enough?
the effects, world or infuser section yes, at once
the loot section no — follow it with /reload, which rebuilds the loot tables
the client section no — that is each player's own file, read when their game starts (in single player, yes)
strains, or the device, edible and green-out data no — a restart, see Server Guide
recipes, tags, loot tables, advancements no — that is /reload

Every key, and what it does, is on Configuration.

Giving items

Every item's id is hempdustry: plus its registry name. The ids stay the mod's original ones, so the strains go by their old names: Purple Kush is indica, Lemon Haze is sativa, Beldía is beldia.

/give @s hempdustry:indica_seeds 16
/give @s hempdustry:hemp_press
/give @s hempdustry:red_bong
Item Id
Purple Kush Seeds · Buds hempdustry:indica_seeds · hempdustry:indica_buds
Lemon Haze Seeds · Buds hempdustry:sativa_seeds · hempdustry:sativa_buds
Beldía Seeds · Buds hempdustry:beldia_seeds · hempdustry:beldia_buds
Decarboxylator · Infuser · Hemp Press · Sifting Box hempdustry:decarboxylator · hempdustry:infuser · hempdustry:hemp_press · hempdustry:sifting_box
Grow Pot · Hydro Tray · Grow Lamp hempdustry:grow_pot · hempdustry:hydro_tray · hempdustry:grow_lamp
Spliff · Wooden Pipe · Bong · Redstone Vaporizer hempdustry:spliff · hempdustry:wooden_pipe · hempdustry:bong · hempdustry:vaporizer
Cannabutter · Space Cookie · Dawamesk hempdustry:cannabutter · hempdustry:space_cookie · hempdustry:dawamesk

Every id is on Items and Blocks. A coloured bong is hempdustry:<colour>_bong (light_gray_bong, tinted_bong…).

Packed devices and dosed edibles

A plain /give hands out empty smoking gear, an undosed edible that is only food, and the weakest Cannabutter (strength 1, Rough). What is loaded or infused is data on the item, and /give can set it with item components — the same data a crafted item carries.

Component On Value
hempdustry:smoke_contents spliff, pipe, bongs, vaporizer {entries:[{strain:"<strain id>",count:<buds>}]} — one entry per material in the load
hempdustry:charges pipe, bongs, vaporizer hits left in the bowl. Without it the load is spent after one hit
hempdustry:potency edibles the dose tier, 1 to 4
hempdustry:strength cannabutter how much hemp went into the batch, 1 to 24
hempdustry:quality edibles, cannabutter "rough", "standard", "clean" or "perfect"

Strain ids are hempdustry:indica, hempdustry:sativa, hempdustry:beldia, and for hash hempdustry:hashish, hempdustry:filtered_hashish, hempdustry:charas and hempdustry:rosin; a datapack strain uses its own id.

# A bong packed with three Purple Kush buds, a full bowl of four hits
/give @s hempdustry:bong[hempdustry:smoke_contents={entries:[{strain:"hempdustry:indica",count:3}]},hempdustry:charges=4]

# A pipe of two Lemon Haze, two hits
/give @s hempdustry:wooden_pipe[hempdustry:smoke_contents={entries:[{strain:"hempdustry:sativa",count:2}]},hempdustry:charges=2]

# A hash spliff: two Purple Kush buds and a pinch of hashish
/give @s hempdustry:spliff[hempdustry:smoke_contents={entries:[{strain:"hempdustry:indica",count:2},{strain:"hempdustry:hashish",count:1}]}]

# Eight Perfect Space Cookies at tier 2
/give @s hempdustry:space_cookie[hempdustry:potency=2,hempdustry:quality="perfect"] 8

# The strongest butter there is
/give @s hempdustry:cannabutter[hempdustry:strength=24,hempdustry:quality="perfect"]

Minecraft 1.18.2 and 1.16.5 have no item components. The same values are kept in the item's NBT, each under its component's id and in the same shape, so /give takes them in braces, with the ids quoted: /give @s hempdustry:bong{"hempdustry:smoke_contents":{entries:[{strain:"hempdustry:indica",count:3}]},"hempdustry:charges":4}.

Tip: keep loads to what a device can really hold — a pipe takes 2 buds, a bong 3, the vaporizer 1, a spliff 3 — and charges to its bowl's hits: pipe 2, bong 4, vaporizer 2. The mod never makes anything bigger, so nothing is balanced for it. The numbers are the shipped device data; a datapack can change them (Datapacks).

The time marker

Minecraft 26.2 and 26.3 only. Minecraft 26.x lets /time set take named markers, and Hempdustry adds one beside day, noon, night and midnight:

/time set hempdustry:four_twenty

It puts the Overworld at 4:20 in the afternoon (tick 10333). It tab-completes, needs the same permission level as any /time set, and does nothing unless you type it. More: Minecraft 26.x.

Other vanilla commands

Command Use with Hempdustry
/reload re-reads recipes, tags, loot tables and advancements, and puts the mod's loot additions back in with the current config. Not strains or the device, edible and green-out data: those need a restart
/locate biome #hempdustry:indica_flower_gen the nearest biome where wild Purple Kush grows. There is no structure to /locate; a biome tag is the closest you can get. The others: #hempdustry:indica_flower_gen_cave (Purple Kush in lush caves), #hempdustry:sativa_flower_gen, #hempdustry:sativa_flower_gen_sparse and #hempdustry:sativa_flower_gen_rare (Lemon Haze, from common to rare), #hempdustry:beldia_gen (Beldía). On 1.18.2 and 1.16.5 these tags do not exist (the wild plants are placed by biome in code there) and the command is /locatebiome with a single biome
/loot give @s loot minecraft:chests/desert_pyramid rolls a chest's loot table into your inventory — a quick way to check what the mod adds, and that loot.enabled or loot.chanceMultiplier did what you meant. Any vanilla table works: chests/shipwreck_supply, chests/simple_dungeon, chests/village/village_plains_house…
/advancement revoke @s from hempdustry:hempdustry resets the whole Hempdustry tab for a player. Its root is hempdustry:hempdustry (High Hopes); grant instead of revoke gives the whole tab, hidden advancements included. Single ones are only hempdustry:<id> — see Advancements
/datapack list enabled checks that a datapack with your own strain or balance files is switched on
/effect clear @s clears active effects, as milk does — but an edible still on its way down is not an effect yet, and will still hit

See also: Configuration · Server Guide · Items and Blocks · Datapacks

Clone this wiki locally