Minecraft wiki entry for Glistering_Melon_Slice, associated text: Piglins are attracted to glistering melon slices. They run toward any glistering melon slice on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.