Skip to content
[/craft]

Place a Jack o'Lantern

Place a lit pumpkin light source

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Places a jack o'lantern — a light level 15 source that works underwater, which regular torches can't do. Note the block ID differs by edition: jack_o_lantern on Java, lit_pumpkin on Bedrock.

/setblock ~ ~ ~ jack_o_lantern
30 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Stand where you want the lantern.
  3. Paste the command and press Enter.
  4. Use it underwater for full-strength lighting where torches fail.

Related commands

Create a hollow room or box out of any block

/fill ~ ~ ~ ~10 ~6 ~10 stone hollow

Create a pool or lake by filling a region with water

/fill ~ ~ ~ ~10 ~ ~10 water

Swap every block of one type for another in a region

/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirt

Copy a region of blocks and paste it somewhere else

/clone ~-5 ~-5 ~-5 ~5 ~5 ~5 ~15 ~-5 ~-5

Delete all blocks in a large area quickly

/fill ~-10 ~-2 ~-10 ~10 ~10 ~10 air

Quickly fill a region with water

/fill ~-5 ~ ~-5 ~5 ~3 ~5 water