Fern
Block

Fern

Namespaced ID
minecraft:fern
Legacy numeric ID
31:2(1.8 & earlier)
Stack size
64
Edition
Java & Bedrock

/give command

Run in chat or a command block. Replace @p with a player name to target someone specific.

Command builder

Set the count, custom name, lore, and enchantments to generate a ready-to-paste /give command for Fern.

Shown above the item in the inventory.
Italic text shown below the item name. One line per row.
1 compatible with Fern.

Component syntax for Minecraft 1.21.8.

Block properties

Hardness
0
Blast resistance
0
Material
default
Diggable
Yes
Transparent
Yes
Light emitted
0 / 15
Light filtered
0 / 15
Block state IDs
2049

Mining time

Break time per pickaxe tier (no haste, on ground, full air). Tools that can't harvest the block take 5× longer and won't drop the item.

PickaxeBreak timeDrops?
Woodeninstant✓
Stoneinstant✓
Ironinstant✓
Goldeninstant✓
Diamondinstant✓
Netheriteinstant✓

Obtained from

Blocks that drop Fern when broken.

  • Potted Fern

Across versions

Legacy numeric ID
31:2 (pre-1.13, from 1.8)
Modern ID (1.13+)
minecraft:fern (numeric IDs were removed in 1.13 — not usable in commands)
Editions
Java & Bedrock

Browse the full item list for a specific version:

About Fern

Where do you get Fern in Minecraft?

Fern can be obtained by breaking Potted Fern.

What is the Minecraft ID for Fern?

The namespaced ID is minecraft:fern, used in the /give command: /give @p minecraft:fern 1. In legacy versions before 1.13, Fern used the numeric ID 31:2. Numeric item IDs were removed in the 1.13 "Flattening" and no longer work in modern commands.

How do you mine Fern in Minecraft?

Fern has hardness 0. Any tool works. Mining without the correct tool takes 5× longer and produces no drops.