public GCMarsEntitySlimeling spawnBabyAnimal(EntityAgeable par1EntityAgeable) { if (par1EntityAgeable instanceof GCMarsEntitySlimeling) { GCMarsEntitySlimeling otherSlimeling = (GCMarsEntitySlimeling) par1EntityAgeable; GCMarsEntitySlimeling newSlimeling = new GCMarsEntitySlimeling( this.worldObj, (this.getColorRed() + otherSlimeling.getColorRed()) / 2, (this.getColorGreen() + otherSlimeling.getColorGreen()) / 2, (this.getColorBlue() + otherSlimeling.getColorBlue()) / 2); String s = this.getOwnerName(); if (s != null && s.trim().length() > 0) { newSlimeling.setOwner(s); newSlimeling.setTamed(true); } return newSlimeling; } return null; }