Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Bar of Ice Cream
Adds a craftable ice cream bar to vanilla Minecraft using only a datapack. No mods, no resource pack, no commands needed for survival players.
Items
| Item | How to get it | Notes |
|---|---|---|
| Ice cream | Craft: milk bucket, snowball, sugar | Makes 4. Ingredient only, not edible. |
| Chocolate Wafer | Craft: wheat, cocoa beans, sugar | Makes 2. Ingredient only, not edible. |
| Bar of Ice Cream | Craft: Chocolate Wafer, Ice cream, Chocolate Wafer | Edible, see below. |
Recipes
Ice cream (shapeless, any arrangement)

Chocolate Wafer (shapeless, any arrangement)

Bar of Ice Cream (shaped, vertical column)

Bar of Ice Cream stats
- Restores 9 hunger points (4.5 hunger bars)
- Saturation of 20
- Gives Absorption II for 2 minutes (4 extra hearts)
- Can be eaten even when your hunger bar is full
- Eating time is 1.6 seconds, the same as most vanilla food
- Stacks to 16
- No enchantment glint
Getting the items with commands
The pack includes loot tables for testing or for map makers:
/loot give @p loot icecreamers:icecream/icecream
/loot give @p loot icecreamers:icecream/chocolate_wafer
/loot give @p loot icecreamers:icecream/icecream_bar
Installation
- Download the pack and put the
.zipin your world'sdatapacksfolder (or drag it onto the world while it's open). - Run
/reloadif the world is already open. - Check that it loaded with
/datapack list.
Works on Minecraft 1.21.4 and later. It needs components that don't exist in older versions.
How it works
The items use vanilla base items with custom names, item models and components:
- Bar of Ice Cream is an enchanted book with
consumableandfoodcomponents and the book's model. - Ice cream and Chocolate Wafer use spawn egg base items with their entity data removed, so they only work as crafting ingredients.
Vanilla recipes match by item type and can't check custom names or components. Because of that, the bar recipe will also accept a real snow golem spawn egg or creaking spawn egg in the matching slot. Those items aren't obtainable in survival, so this mostly matters in creative mode or on servers that hand them out.
Compatibility
- Singleplayer and multiplayer, with no client-side files needed.
- Adds no new blocks or mobs, so it should work alongside most other datapacks.
- Another datapack that edits the same recipes would conflict.


