Place a Jack o'Lantern
Place a lit pumpkin light source
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places 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_lantern30 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Stand where you want the lantern.
- Paste the command and press Enter.
- Use it underwater for full-strength lighting where torches fail.
Related commands
Fill a Hollow Box (Build a Room)
Create a hollow room or box out of any block
Fill an Area with Water
Create a pool or lake by filling a region with water
Replace One Block Type with Another
Swap every block of one type for another in a region
Clone (Copy) a Structure
Copy a region of blocks and paste it somewhere else
Clear a Region with Air
Delete all blocks in a large area quickly
Fill Area with Water
Quickly fill a region with water