For information on Slimeballs in vanilla Minecraft, see this page. As Slimes do not normally spawn in Pixelmon, Slimeballs are obtained as drops from wild Grimer, Muk, and Ditto. They can be used for their vanilla Minecraft purposes (crafting leads, sticky pistons and magma cream), but have no use that is specific to Pixelmon.