Entity Documentation - minecraft:density_limit

This component allows players to specify the amount of entities to spawn in a given location.

Parameters

Name Default Value Type Description
surface not set Integer The maximum number of entities of this type spawnable on the surface
underground not set Integer The maximum number of entities of this type spawnable underground