Modules

By default PGM disables all mob spawning. The mobs module allows this behavior to be customized to allow spawning of specific mobs. This module makes use of the <spawn>, <mob> and <entity> filters to only allow specific mobs to spawn. Mob spawns can also be filtered against any other filter type including regions.

Element Description
<mobs> </mobs> Node containing the custom mob spawning filters.
Attributes Value/Children
filter Property Required Filter what mobs can spawn when and where. Filter
Sub-elements Value/Children
<filter> </filter> Property Required Filter what mobs can spawn when and where. Filter
Mob Spawning Filter Matchers
Element Description Value
<spawn> </spawn> Filter the reason a mob is being spawned. Spawn Reason
<mob> </mob> The mob to filter for. Creature Type
<entity> </entity> The entity to filter for. Entity Type

Examples

<!-- Only allow mobs to spawn from monster spawners. -->
<mobs>
    <filter>
        <spawn>spawner</spawn>
    </filter>
</mobs>

<!-- Only allow cave spiders spawned with spawn eggs -->
<mobs>
    <filter>
        <all>
            <mob>cave spider</mob>
            <spawn>spawner egg</spawn>
        </all>
    </filter>
</mobs>