setHatchingType

public void setHatchingType(EntityType hatchType)

Change the type of mob being hatched by the egg

Parameters

hatchType

The type of the mob being hatched by the egg