Skip to content

pocketmine\world\mobs\spawn ​

Classes ​

NameKindSummary
BiomeFilter 5.46.0classEvaluates the "minecraft:biome_filter" of Bedrock spawn rules: Minecraft filters ("all_of", "any_of", "none_of", a list meaning all of them,
PopulationCaps 5.46.0classBedrock population caps: the maximum number of naturally spawned mobs of each population type in the 9x9 chunks around the chunk of a spawn
SlimeChunk 5.46.0classBedrock slime chunks
SpawnBlockInfo 5.46.0classClassifies block states for mob spawning, by state ID (cached, so the column scans of the spawner read chunks without creating Block objects
SpawnCondition 5.46.0classOne entry of the "conditions" list of a Bedrock spawn rule (behavior_pack/spawn_rules/<mob>
SpawnContext 5.46.0classWorld state shared by every spawn rule check of one spawn pass
SpawnHerd 5.46.0classOne entry of a spawn rule's "minecraft:herd" component: how many mobs spawn together, and the entity events applied to them ("event" to the
SpawnRuleParser 5.46.0classReads Bedrock spawn rule files (behavior_pack/spawn_rules/*
SpawnRules 5.46.0classA set of spawn rules (see SpawnCondition), indexed by biome
SpawnSpot 5.46.0classA position where the spawn algorithm found room for a mob: the block the mob's feet are in and what is around it
StructureSpawnArea 5.46.0classA Bedrock structure spawn area ("hard-coded spawn spots"): the box of a swamp hut (witches), an ocean monument (guardians), a pillager outpo
StructureSpawnProvider 5.46.0interfaceTells the natural mob spawner where structure spawn areas are (see StructureSpawnArea), e
StructureSpawns 5.46.0classRegistry of StructureSpawnProviders used by every world's natural mob spawner
VanillaSpawnRules 5.46.0classMojang's official Bedrock spawn rules (behavior_pack/spawn_rules/*
VanillaSpawnRulesFetchTask 5.46.0classDownloads Mojang's spawn rules (see VanillaSpawnRules::fetch()) on an async worker: about 60 small files (270 KB), a few seconds once per

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.