类 EntitySpawnCallbackArgs实验性

A container for arguments passed to SpawnRulesRegistry.registerEntitySpawnCallback

Required Experiments:

  • Simplified Spawn Rules

属性

dimensionLocation: DimensionLocation

The dimension and location of the spawn.

spawnReason: EntitySpawnReason

The reason for the spawn.

spawnType: EntitySpawnType

The entity spawn type.