Interface MobSpawnerBlockEntity

MobSpawner (Spawner) with ID = 5.

interface MobSpawnerBlockEntity {
    Delay: number;
    DisplayEntityHeight: number;
    DisplayEntityScale: number;
    DisplayEntityWidth: number;
    EntityIdentifier: string;
    id: "MobSpawner";
    isMovable: boolean;
    MaxNearbyEntities: number;
    MaxSpawnDelay: number;
    MinSpawnDelay: number;
    RequiredPlayerRange: number;
    SpawnCount: number;
    SpawnRange: number;
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

Delay: number

Ticks before spawning next entity.

DisplayEntityHeight: number

Placeholder animation in spawner height, constant.

1.7999999523162842
DisplayEntityScale: number

Placeholder animation in spawner size relative to block itself.

DisplayEntityWidth: number

Placeholder animation in spawner width, constant.

0.6000000238418579
EntityIdentifier: string

Typed entity identifier, such as "minecraft:enderman".

""
id

Typed identifier, such as "Chest", "Beacon", etc.

isMovable: boolean

Block Entity will be saved without instantiating new one when transporting (via pistons, commands, etc.).

MaxNearbyEntities: number

Maximum containment mobs in SpawnRange, if here are more spawner just emitting particles.

6
MaxSpawnDelay: number

Maximum time in ticks between mob spawing.

800
MinSpawnDelay: number

Minimum time in ticks between mob spawing.

800
RequiredPlayerRange: number

Anyone (of players) must be near to spawner, otherwise spawner hides placeholder animation and stops.

16
SpawnCount: number

Maximum spawning limit, not everyone may spawned with each other when place above comes to zero.

4
SpawnRange: number

Ranged AABB box where entities became.

4
x: number
y: number
z: number

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.