Melon Slice command
minecraft:melon_sliceEnglish name Melon Slice
Melon Slice (minecraft:melon_slice) can be stacked up to 64.Restores 2 hunger when eaten.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Melon Slice
/give @p minecraft:melon_slice
Give a stack (64)
/give @p minecraft:melon_slice 64
Give all players
/give @a minecraft:melon_slice
Gold Name
/give @p melon_slice[custom_name={translate:"item.minecraft.melon_slice",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
Clear all Melon Slice from the player
/clear @p minecraft:melon_slice
Check if holding Melon Slice
/execute as @a if items entity @s weapon.mainhand minecraft:melon_slice run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.melon_slice"}]Basic Information
- Item ID
- minecraft:melon_slice
- Max Stack Size
- 64
- Hunger
- 2 (Saturation: 1.2)
- Type
- Item
Similar Items
Items Made of the Same Material
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.