类 EntitySpawnType实验性

A container for information relating to an entity spawn event.

Required Experiments:

  • Simplified Spawn Rules

属性

entityId: string

The entity Id.

height: number

The height of the entity to spawn.

isImmuneFire: boolean

Is the entity immune to fire.

isSummonable: boolean

Is the entity summonable.

spawnCategory: EntitySpawnCategory

The category determining the type of spawn.

width: number

The width of the entity to spawn.

方法

  • 实验性

    参数

    返回 BoundingBox

    Helper to get the AABB for the entity at a given location

  • 实验性

    参数

    返回 boolean

    Is the block being spawned on dangerous.