Spawner - MarkusBordihn/BOs-Easy-NPC GitHub Wiki

The Easy NPC Spawner Block simplifies the process of spawning Easy NPCs, offering customization through presets and various parameters. This versatile block empowers you to craft dynamic and interactive experiences in your world.
✨ Since Version 6.x
Easy NPC now offers four different spawner types, each with predefined configurations optimized for specific use cases. These spawners come with preset parameters and do not require UI configuration - simply place them and add your NPC preset!
The standard spawner with balanced settings suitable for most scenarios.
- Delay: 600 ticks (30 seconds)
- Min/Max Spawn Delay: 200-800 ticks (10-40 seconds)
- Spawn Count: 4 NPCs per activation
- Max Nearby Entities: 6
- Required Player Range: 16 blocks
- Spawn Range: 4 blocks
Best for: General NPC spawning, villages, populated areas
Optimized for spawning powerful boss NPCs with long delays and large detection range.
- Delay: 600 ticks (30 seconds)
- Min/Max Spawn Delay: 6000-18000 ticks (5-15 minutes)
- Spawn Count: 1 NPC per activation
- Max Nearby Entities: 1 (ensures only one boss at a time)
- Required Player Range: 32 blocks (large detection area)
- Spawn Range: 16 blocks (wide spawn area)
Best for: Boss encounters, rare enemy spawns, challenge areas
Designed for spawning groups of NPCs, perfect for encounters or events.
- Delay: 600 ticks (30 seconds)
- Min/Max Spawn Delay: 3000-12000 ticks (2.5-10 minutes)
- Spawn Count: 3-5 NPCs per activation
- Max Nearby Entities: 10
- Required Player Range: 16 blocks
- Spawn Range: 4 blocks
Best for: Enemy groups, NPC patrols, event spawning
Focused on spawning individual NPCs with moderate frequency.
- Delay: 600 ticks (30 seconds)
- Min/Max Spawn Delay: 3000-9000 ticks (2.5-7.5 minutes)
- Spawn Count: 1 NPC per activation
- Max Nearby Entities: 2
- Required Player Range: 16 blocks
- Spawn Range: 4 blocks
Best for: Single NPC spawning, merchants, quest givers
The Easy NPC Spawner supports presets, making it convenient to spawn NPCs with predefined settings.

- Create your NPC and configure it as desired
- Use the Easy NPC Wand to create a preset (right-click with empty preset item)
- Place your chosen spawner type (Boss/Group/Single/Default)
- Right-click the spawner to open the interface
- Insert your preset into the Preset Slot
- The spawner will automatically use the predefined parameters for that spawner type
✨ Since Version 6.x - Use the /easy_npc spawner set command
While spawners come with predefined settings, you can customize them using commands:
/easy_npc spawner set <BlockPos> <Parameter> <Value>Available parameters:
- Delay: Time between spawn attempts (in ticks, 20 ticks = 1 second)
- MinSpawnDelay: Minimum delay before next spawn
- MaxSpawnDelay: Maximum delay before next spawn
- SpawnCount: Number of NPCs to spawn per activation
- MaxNearbyEntities: Maximum number of entities allowed nearby
- RequiredPlayerRange: Distance a player must be within to activate
- SpawnRange: Area around the spawner where NPCs can spawn
Example:
/easy_npc spawner set ~0 ~0 ~0 Delay 1200
/easy_npc spawner set ~0 ~0 ~0 SpawnCount 2Using a Single Spawner with custom adjustments:
- Required Player Range: 16 blocks
- Delay: 120 seconds (2400 ticks)
- Max Nearby Entities: 1
- Spawn Count: 1
- Spawn Range: 4
This configuration ensures that within a 16-block radius of a player, the spawner activates every 120 seconds, spawning a friendly trader NPC with a maximum of 1 nearby entity.
Using a Group Spawner for enemy spawns:
- Required Player Range: 16 blocks
- Delay: 60 seconds (1200 ticks)
- Max Nearby Entities: 5
- Spawn Count: 2-3
- Spawn Range: 4
This setup activates the spawner every 60 seconds within a 16-block radius of a player, spawning 2-3 NPCs with a maximum of 5 nearby entities.
The Easy NPC Spawner Block can be discreetly placed up to 2 blocks underground while still spawning NPCs on the surface. This unique feature enables seamless hiding without compromising functionality.
- 🕵️ Hidden Spawning: Utilize underground placement to seamlessly hide spawners within your builds.
- 🎯 Choose the Right Type: Use Boss Spawner for single powerful NPCs, Group Spawner for encounters, Single Spawner for merchants
- 🔧 Fine-Tune with Commands: Adjust spawner parameters using
/easy_npc spawner setfor precise control - 🔄 Preset Management: Create different presets for different scenarios and swap them in spawners
- 🚧 Secure Your Spawner: Protect your spawner from unwanted tampering by enclosing it in secure structures.
With the Easy NPC Spawner Block and its four specialized types, the possibilities are vast. Create engaging scenarios, build hidden NPC encounters, and elevate your gaming experience! 🌈