Sponge blocks without mods

Data packs

Break a sponge for prizes, traps or surprisesLearn more

Turn sponges into Lucky Blocks with a data pack for Minecraft 1.21.9–26.3. Breaking one can produce diamonds, an enchanted pickaxe, zombies, TNT, or a shower of chickens. Choose the outcomes and trap frequency.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

What drops

Trap share

The rest are divided between useful and funny. The chance of each outcome is shown in the table below.

Where to get sponges?

Sponge from the sky — once every

The command /function lucky:give Always drops 16 sponges to the operator.

Your lacel blocks

Data pack · 1.21.9–26.3
Outcomes
29
Useful
39.6 %
Traps
25 %
Funny
35.4 %

Take sponges (operator permissions)

/function lucky:give
Download the data pack
What's inside the archive - 39 files

data/minecraft/tags/function/load.json

The load tag lists functions that run when the world loads and after /reload.

{
  "values": [
    "lucky:load"
  ]
}

data/minecraft/tags/function/tick.json

The tick tag lists functions that run every game tick, normally 20 times per second.

{
  "values": [
    "lucky:tick"
  ]
}

data/lucky/function/load.mcfunction

On world load: throw score and chat hint.

scoreboard objectives add lucky dummy
tellraw @a ["",{"text":"Лаки-блоки загружены: лаки-блок — это "},{"text":"губка","color":"yellow"},{"text":". Взять губки — "},{"text":"/function lucky:give","color":"gold","click_event":{"action":"suggest_command","command":"/function lucky:give"}},{"text":"."}]
schedule function lucky:rain 60s

data/lucky/function/tick.mcfunction

Each tick: a lacquered block breaks if something it drops lies on the ground.

execute as @e[type=minecraft:item] if items entity @s contents minecraft:structure_void at @s align xyz positioned ~0.5 ~ ~0.5 run function lucky:open

data/lucky/function/outcome/diamonds.mcfunction

Useful: Five diamonds.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Алмазы","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:diamond",count:5}}

data/lucky/function/outcome/gold.mcfunction

Useful: Eight gold ingots and two golden apples.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Золото и яблоки","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:gold_ingot",count:8}}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:golden_apple",count:2}}

data/lucky/function/outcome/pickaxe.mcfunction

Useful: Diamond pickaxe: Efficiency V, Unbreaking III, Fortune III.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Кирка мастера","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:diamond_pickaxe",count:1,components:{"minecraft:enchantments":{"minecraft:efficiency":5,"minecraft:unbreaking":3,"minecraft:fortune":3}}}}

data/lucky/function/outcome/sword.mcfunction

Useful: Diamond sword: Sharpness V, Unbreaking III.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Острый меч","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:diamond_sword",count:1,components:{"minecraft:enchantments":{"minecraft:sharpness":5,"minecraft:unbreaking":3}}}}

data/lucky/function/outcome/bow.mcfunction

Useful: Bow: Strength V, Infinity, and one arrow.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Лук с бесконечностью","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:bow",count:1,components:{"minecraft:enchantments":{"minecraft:power":5,"minecraft:infinity":1}}}}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:arrow",count:1}}

data/lucky/function/outcome/armor.mcfunction

Useful: Iron helmet, chestplate, leggings, and boots.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Железные доспехи","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:iron_helmet",count:1}}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:iron_chestplate",count:1}}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:iron_leggings",count:1}}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:iron_boots",count:1}}

data/lucky/function/outcome/totem.mcfunction

Useful: Prevents one death.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Тотем бессмертия","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:totem_of_undying",count:1}}

data/lucky/function/outcome/pearls.mcfunction

Useful: Eight ender pearls.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Эндер-жемчуг","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:ender_pearl",count:8}}

data/lucky/function/outcome/food.mcfunction

Useful: Sixteen cooked beef steaks.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Стейки","color":"green"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:cooked_beef",count:16}}

data/lucky/function/outcome/levels.mcfunction

Useful: Ten experience levels to the nearest player.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Опыт","color":"green"}
experience add @p[distance=..8] 10 levels

data/lucky/function/outcome/chickens.mcfunction

Funny: Eight chickens fall from the sky.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Куриный дождь","color":"light_purple"}
summon minecraft:chicken ~ ~6 ~
summon minecraft:chicken ~1 ~6 ~
summon minecraft:chicken ~ ~6 ~1
summon minecraft:chicken ~-1 ~6 ~
summon minecraft:chicken ~ ~6 ~-1
summon minecraft:chicken ~1 ~6 ~1
summon minecraft:chicken ~-1 ~6 ~-1
summon minecraft:chicken ~1 ~6 ~-1

data/lucky/function/outcome/cake.mcfunction

Funny: A cake appears where the block was.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Торт","color":"light_purple"}
setblock ~ ~ ~ minecraft:cake

data/lucky/function/outcome/jeb.mcfunction

Funny: A sheep named jeb_ turns all colors.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Радужная овца","color":"light_purple"}
summon minecraft:sheep ~ ~ ~ {CustomName:"jeb_"}

data/lucky/function/outcome/pumpkin.mcfunction

Funny: The nearest player without a helmet gets a pumpkin.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Тыква на голову","color":"light_purple"}
execute as @p[distance=..8] unless items entity @s armor.head * run item replace entity @s armor.head with minecraft:carved_pumpkin

data/lucky/function/outcome/balloon.mcfunction

Funny: Players nearby are lifted upward, then slowly descend.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Воздушный шар","color":"light_purple"}
effect give @a[distance=..8] minecraft:levitation 2 1
effect give @a[distance=..8] minecraft:slow_falling 15 0

data/lucky/function/outcome/firework.mcfunction

Funny: Three firework rockets above a block.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Салют","color":"light_purple"}
summon minecraft:firework_rocket ~ ~1 ~ {LifeTime:30,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"star",colors:[I;16766720]}]}}}}
summon minecraft:firework_rocket ~-2 ~1 ~ {LifeTime:26,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",colors:[I;16711935]}]}}}}
summon minecraft:firework_rocket ~2 ~1 ~ {LifeTime:34,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"burst",colors:[I;65535]}]}}}}

data/lucky/function/outcome/snowman.mcfunction

Funny: A snow golem throws snowballs at mobs.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Снеговик","color":"light_purple"}
summon minecraft:snow_golem ~ ~ ~

data/lucky/function/outcome/axolotl.mcfunction

Funny: A bucket with an axolotl.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Аксолотль в ведре","color":"light_purple"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:axolotl_bucket",count:1}}

data/lucky/function/outcome/more.mcfunction

Funny: Three sponges — that is, three new lucky blocks.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Ещё лаки-блоки","color":"light_purple"}
summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:sponge",count:3}}

data/lucky/function/outcome/zombies.mcfunction

Traps: Four zombies around the block.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Толпа зомби","color":"red"}
summon minecraft:zombie ~ ~ ~
summon minecraft:zombie ~1 ~ ~
summon minecraft:zombie ~ ~ ~1
summon minecraft:zombie ~-1 ~ ~

data/lucky/function/outcome/creeper.mcfunction

Traps: A creeper with lightning bolts: explosion is stronger than normal.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Заряженный крипер","color":"red"}
summon minecraft:creeper ~ ~ ~ {powered:1b}

data/lucky/function/outcome/tnt.mcfunction

Traps: Four lit TNT blocks around — two seconds to escape.

title @a[distance=..8] actionbar {"text":"Лаки-блок: ТНТ-ловушка","color":"red"}
summon minecraft:tnt ~2 ~ ~ {fuse:40}
summon minecraft:tnt ~-2 ~ ~ {fuse:40}
summon minecraft:tnt ~ ~ ~2 {fuse:40}
summon minecraft:tnt ~ ~ ~-2 {fuse:40}

data/lucky/function/outcome/lava.mcfunction

Traps: Lava flows from the block's location.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Лава","color":"red"}
setblock ~ ~ ~ minecraft:lava

data/lucky/function/outcome/lightning.mcfunction

Traps: Lightning strikes a block.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Молния","color":"red"}
summon minecraft:lightning_bolt ~ ~ ~

data/lucky/function/outcome/silverfish.mcfunction

Traps: Six shulkers.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Чешуйницы","color":"red"}
summon minecraft:silverfish ~ ~ ~
summon minecraft:silverfish ~1 ~ ~
summon minecraft:silverfish ~ ~ ~1
summon minecraft:silverfish ~-1 ~ ~
summon minecraft:silverfish ~ ~ ~-1
summon minecraft:silverfish ~1 ~ ~1

data/lucky/function/outcome/jockey.mcfunction

Traps: A skeleton rides a spider.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Паук-жокей","color":"red"}
summon minecraft:spider ~ ~ ~ {Passengers:[{id:"minecraft:skeleton"}]}

data/lucky/function/outcome/cobweb.mcfunction

Traps: The nearest player is surrounded by webbing.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Паутина","color":"red"}
execute as @p[distance=..8] at @s run fill ~-1 ~ ~-1 ~1 ~1 ~1 minecraft:cobweb replace #minecraft:air

data/lucky/function/outcome/poison.mcfunction

Traps: Poison and blindness for eight seconds for players nearby.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Яд и слепота","color":"red"}
effect give @a[distance=..8] minecraft:poison 8 0
effect give @a[distance=..8] minecraft:blindness 8 0

data/lucky/function/outcome/witch.mcfunction

Traps: A witch with potions.

title @a[distance=..8] actionbar {"text":"Лаки-блок: Ведьма","color":"red"}
summon minecraft:witch ~ ~ ~

data/lucky/function/open.mcfunction

Sponge block broken: remove the tag, roll 1…1000, and look up the result in the table.

kill @s
particle minecraft:happy_villager ~ ~0.5 ~ 0.4 0.4 0.4 0 20
playsound minecraft:entity.player.levelup block @a ~ ~ ~ 1 1.5
execute store result score #roll lucky run random value 1..1000
execute if score #roll lucky matches 1..62 run return run function lucky:outcome/diamonds
execute if score #roll lucky matches 63..124 run return run function lucky:outcome/gold
execute if score #roll lucky matches 125..145 run return run function lucky:outcome/pickaxe
execute if score #roll lucky matches 146..166 run return run function lucky:outcome/sword
execute if score #roll lucky matches 167..187 run return run function lucky:outcome/bow
execute if score #roll lucky matches 188..229 run return run function lucky:outcome/armor
execute if score #roll lucky matches 230..250 run return run function lucky:outcome/totem
execute if score #roll lucky matches 251..292 run return run function lucky:outcome/pearls
execute if score #roll lucky matches 293..354 run return run function lucky:outcome/food
execute if score #roll lucky matches 355..396 run return run function lucky:outcome/levels
execute if score #roll lucky matches 397..458 run return run function lucky:outcome/chickens
execute if score #roll lucky matches 459..500 run return run function lucky:outcome/cake
execute if score #roll lucky matches 501..542 run return run function lucky:outcome/jeb
execute if score #roll lucky matches 543..584 run return run function lucky:outcome/pumpkin
execute if score #roll lucky matches 585..626 run return run function lucky:outcome/balloon
execute if score #roll lucky matches 627..668 run return run function lucky:outcome/firework
execute if score #roll lucky matches 669..689 run return run function lucky:outcome/snowman
execute if score #roll lucky matches 690..710 run return run function lucky:outcome/axolotl
execute if score #roll lucky matches 711..750 run return run function lucky:outcome/more
execute if score #roll lucky matches 751..789 run return run function lucky:outcome/zombies
execute if score #roll lucky matches 790..815 run return run function lucky:outcome/creeper
execute if score #roll lucky matches 816..841 run return run function lucky:outcome/tnt
execute if score #roll lucky matches 842..867 run return run function lucky:outcome/lava
execute if score #roll lucky matches 868..893 run return run function lucky:outcome/lightning
execute if score #roll lucky matches 894..919 run return run function lucky:outcome/silverfish
execute if score #roll lucky matches 920..932 run return run function lucky:outcome/jockey
execute if score #roll lucky matches 933..958 run return run function lucky:outcome/cobweb
execute if score #roll lucky matches 959..984 run return run function lucky:outcome/poison
execute if score #roll lucky matches 985..1000 run return run function lucky:outcome/witch

data/lucky/function/give.mcfunction

/function lucky:give — 16 sponges, that is, sponge blocks, to oneself.

give @s minecraft:sponge 16

data/lucky/function/rain.mcfunction

Every 60 seconds: each player in the overworld receives a sponge from the sky.

execute as @a[gamemode=!spectator] at @s if dimension minecraft:overworld run function lucky:drop
schedule function lucky:rain 60s

data/lucky/function/drop.mcfunction

A point on the surface at 8 blocks from the player, with a falling sponge above it.

summon minecraft:marker ~ ~ ~ {Tags:["lucky_drop"]}
spreadplayers ~ ~ 1 8 false @e[type=minecraft:marker,tag=lucky_drop]
execute at @e[type=minecraft:marker,tag=lucky_drop] run summon minecraft:falling_block ~ ~12 ~ {BlockState:{Name:"minecraft:sponge",id:"minecraft:sponge"},Time:1}
kill @e[type=minecraft:marker,tag=lucky_drop]

data/lucky/recipe/lucky_block.json

Recipe: Eight gold ingots around the dispenser yield a sponge.

{
  "type": "minecraft:crafting_shaped",
  "category": "building",
  "key": {
    "G": "minecraft:gold_ingot",
    "D": "minecraft:dropper"
  },
  "pattern": [
    "GGG",
    "GDG",
    "GGG"
  ],
  "result": {
    "id": "minecraft:sponge",
    "count": 1
  }
}

data/minecraft/loot_table/blocks/sponge.json

A broken sponge drops emptiness for building — the tick finds its origin on it.

{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:structure_void"
        }
      ]
    }
  ]
}

What drops from a lacquer block

Chance — per broken block. The table is built from the same numbers as the datapack roll.

Useful 39.6 %

  • Diamonds — five diamonds. 6.2 %
  • Gold and apples — Eight gold ingots and two golden apples. 6.2 %
  • Master pickaxe — Diamond Pickaxe: Efficiency V, Unbreaking III, Fortune III. 2.1 %
  • Sharp sword — Diamond Sword: Sharpness V, Unbreaking III. 2.1 %
  • Bow with Infinity — Bow: Strength V, Infinity, and one arrow. 2.1 %
  • Iron Armor — iron helmet, chestplate, leggings, and boots. 4.2 %
  • Totem of Undying — saves from one death. 2.1 %
  • Ender Pearl — Eight ender pearls. 4.2 %
  • Steaks — sixteen grilled beef steaks. 6.2 %
  • Experience — Ten experience levels to the nearest player. 4.2 %

Traps 25 %

  • Zombie crowd — four zombies around the block. 3.9 %
  • Charged Creeper — Creeper with lightning bolts: explosion is stronger than normal. 2.6 %
  • TNT trap — four lit TNT blocks around it, two seconds to escape. 2.6 %
  • Lava — lava flows from the block's location. 2.6 %
  • Lightning Bolt — Lightning strikes a block. 2.6 %
  • Silverfish — six shulkers. 2.6 %
  • Spider jockey — a skeleton riding a spider. 1.3 %
  • Cobweb — The nearest player is surrounded by webbing. 2.6 %
  • Poison and blindness — poison and blindness for eight seconds to nearby players. 2.6 %
  • Witch — A witch with potions. 1.6 %

Funny 35.4 %

  • Chicken rain — Eight chickens fall from the sky. 6.2 %
  • Cake — a cake appears at the block's location. 4.2 %
  • Rainbow sheep — a sheep named jeb_ glows in all colors. 4.2 %
  • Pumpkin on the head — A pumpkin is placed on the head of the nearest player without a helmet. 4.2 %
  • Balloon — Nearby players are lifted upward, then slowly descend. 4.2 %
  • Fireworks — three firework rockets above the block. 4.2 %
  • Snowman — a snow golem throws snowballs at mobs. 2.1 %
  • Bucket of Axolotl — A bucket with an axolotl. 2.1 %
  • More lacquered blocks — three sponges, meaning three new sticky blocks. 4 %

How to place

  1. Download the datapack

    Leave the ZIP file as it is: Minecraft can load it without extraction.

  2. Add it to your world

    In single-player mode — saves/<world>/datapacks, on the server — world/datapacks. An already-created world will work.

  3. Reload

    /reload — A hint appears in chat. Then break sponges in survival mode.

What to know

  • Sponge block — it's like a sponge. The pack uses the existing yellow sponge as its Lucky Block. Every dry sponge in the world is affected; wet sponges become Lucky Blocks only after being dried in a furnace.
  • Blocks can be broken with anything. With an axe, hand, or explosion, the block's original location is where the result appears. The sponge itself does not drop.
  • Crafting: Eight gold ingots around the crafting table dispenser — one sponge.
  • Sponges from the sky. Every 1 minutes, in the Overworld, a sponge falls to the ground 8 blocks away from it. In a cave, it falls to the surface above it.
  • Traps are real. Lava, TNT, and a charged creeper break nearby structures. Open bucket blocks far from your house.

What is LuckyBlock and other server modes — in the wiki, servers with them — in the server list. Your enchanted item — /give generator.

Frequently asked questions

How to make sticky blocks in Minecraft without mods?

Select outcomes and trap frequency, then install the generated data pack. Sponges become Lucky Blocks that trigger a random result when broken.

Where do I get lucky blocks?

Enable your preferred ways to obtain Lucky Blocks: craft one with eight gold ingots and a dropper, use /function lucky:give, or have one fall from the sky near each player every minute.

What can drop from a lacquer block?

Useful — diamonds, enchanted pickaxe, ender chest; traps — zombies, charged creeper, TNT, lava; funny — chicken rain, cake, rainbow sheep. The chance of each outcome is in the table on the page.