MonsterSettingsBuilder

A builder for MonsterSettings. The following settings are available:

  • piglinSafe - Whether piglins transform into zombified entities.

  • hasRaids - Whether players with bad omen can trigger raids.

  • monsterSpawnLightTest - The light level test used to determine if a monster can spawn. (Value between 0 and 15)

  • monsterSpawnBlockLightLimit - The maximum light level a block can have to allow monsters to spawn. (Value between 0 and 15)

Functions

Link copied to clipboard

Sets the monsterSpawnBlockLightLimit property which determines the maximum light level a block can have to allow monsters to spawn. (Value between 0 and 15)

Link copied to clipboard
fun monsterSpawnLightTest(test: IntProvider)

Sets the monsterSpawnLightTest property which determines the light level test used to determine if a monster can spawn. (Value between 0 and 15)