Entity Documentation - minecraft:weight

This component allows players to set a priority for how often that mob should spawn. Mobs with lower weight values will have a lower chance to spawn than mobs with higher weight values.

Parameters

Name Default Value Type Description
default 0.0 Decimal This is the priority of the mob spawning