Question: are slimes attracted to iron golems?
Answer: A quick and lossless method for killing slimes is using magma blocks. Slimes can either be pushed there with a water stream, drawn there by iron golems, or allowed to roam off the side on their own.