Type Alias MonsterSpawner
MonsterSpawner: {
type: "compound";
value: {
Delay: { type: "short"; value: number };
DisplayEntityHeight: { type: "float"; value: number };
DisplayEntityScale: { type: "float"; value: number };
DisplayEntityWidth: { type: "float"; value: number };
EntityIdentifier: { type: "string"; value: string };
MaxNearbyEntities: { type: "short"; value: number };
MaxSpawnDelay: { type: "short"; value: number };
MinSpawnDelay: { type: "short"; value: number };
RequiredPlayerRange: { type: "short"; value: number };
SpawnCount: { type: "short"; value: number };
SpawnData?: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
};
};
SpawnPotentials?: {
type: "list";
value: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
}[];
};
};
SpawnRange: { type: "short"; value: number };
};
}
Type declaration
type: "compound"
value: {
Delay: { type: "short"; value: number };
DisplayEntityHeight: { type: "float"; value: number };
DisplayEntityScale: { type: "float"; value: number };
DisplayEntityWidth: { type: "float"; value: number };
EntityIdentifier: { type: "string"; value: string };
MaxNearbyEntities: { type: "short"; value: number };
MaxSpawnDelay: { type: "short"; value: number };
MinSpawnDelay: { type: "short"; value: number };
RequiredPlayerRange: { type: "short"; value: number };
SpawnCount: { type: "short"; value: number };
SpawnData?: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
};
};
SpawnPotentials?: {
type: "list";
value: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
}[];
};
};
SpawnRange: { type: "short"; value: number };
}
Delay: { type: "short"; value: number }
DisplayEntityHeight: { type: "float"; value: number }
DisplayEntityScale: { type: "float"; value: number }
DisplayEntityWidth: { type: "float"; value: number }
EntityIdentifier: { type: "string"; value: string }
MaxNearbyEntities: { type: "short"; value: number }
MaxSpawnDelay: { type: "short"; value: number }
MinSpawnDelay: { type: "short"; value: number }
RequiredPlayerRange: { type: "short"; value: number }
SpawnCount: { type: "short"; value: number }
OptionalSpawnData?: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
};
}
type: "compound"
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
}
Properties: { type: "compound"; value: object }
TypeId: { type: "string"; value: string }
Weight: { type: "int"; value: number }
OptionalSpawnPotentials?: {
type: "list";
value: {
type: "compound";
value: {
Properties: { type: "compound"; value: object };
TypeId: { type: "string"; value: string };
Weight: { type: "int"; value: number };
}[];
};
}
SpawnRange: { type: "short"; value: number }
NBT structure of a [monster spawner](https://minecraft.wiki/w/monster spawner).