Mob Captains
Rare Mob Captains will spawn in your world, dropping illegally enchanted loot!
Overview
Mob Captains of common, uncommon, rare and legendary difficulty will spawn in your world.
Set the scoreboard values of the
ps-mob.config
scoreboard to your desired values!
Name
Default
Description
.cool_down
60
The time, in seconds, to stop trying to spawn a captain after successfully spawning one
.spawn_chance
10
The maximum chance, that a mob becomes a Mob Captain, with 1 being 0.1% and 1000 being 100%
.notify_on_spawn
2
What rarity of Mob Captain is announced to chat and with a sound, with 0 being for none, 1 only for legendaries and 4 being for all rarities of Mob Captain
.notify_with_sound
1
If a Mob Captain is announced to chat, a sound to all nearby players will play, with 0 being disabled and 1 being enabled
.should_glow
0
If a Mob Captain's silhouette should show through blocks, with 0 being disabled and 1 being enabled
.exists_for
6000
How long a Mob Captain will not be able to despawn in ticks, so 20 -> 1 Second, 1200 -> 1 Minute, 6000 -> 5 Minutes
.block_area
12000
How long should Mob Captain spawning be stopped within 24 blocks of another Mob Captain spawning in ticks, so 20 -> 1 Second, 1200 -> 1 Minute, 12000 -> 10 Minutes
.beam_on_spawn
1
If Mob Captains should create a particle beam when spawning that shows their location for about 1 second, with 1 being turned on and 0 it being turned off
.weight_common
55
Weight for a Mob Captain being of common rarity
.weight_uncommon
30
Weight for a Mob Captain being of uncommon rarity
.weight_rare
9
Weight for a Mob Captain being of rare rarity
.weight_legendary
1
Weight for a Mob Captain being of legendary rarity
These Mob Captains will drop items that are enchanted in a way that is not possible in the vanilla game.
You can easily configure the data pack to your liking.
This data pack is inspired by Atomic Stryker's legendary Infernal Mobs mod.
Configure the Pack
Many aspects of this data pack can be configured by simply changing some score values.
You can access a chat based configuration menu while ingame by running the command /function ps-mob:config
if you have operator permissions.
Set the scoreboard values of the
ps-mob.config
scoreboard to your desired values!
Name
Default
Description
.cool_down
60
The time, in seconds, to stop trying to spawn a captain after successfully spawning one
.spawn_chance
10
The maximum chance, that a mob becomes a Mob Captain, with 1 being 0.1% and 1000 being 100%
.notify_on_spawn
2
What rarity of Mob Captain is announced to chat and with a sound, with 0 being for none, 1 only for legendaries and 4 being for all rarities of Mob Captain
.notify_with_sound
1
If a Mob Captain is announced to chat, a sound to all nearby players will play, with 0 being disabled and 1 being enabled
.should_glow
0
If a Mob Captain's silhouette should show through blocks, with 0 being disabled and 1 being enabled
.beam_on_spawn
1
If Mob Captains should create a particle beam when spawning that shows their location for about 1 second, with 1 being turned on and 0 it being turned off
.weight_common
55
Weight for a Mob Captain being of common rarity
.weight_uncommon
30
Weight for a Mob Captain being of uncommon rarity
.weight_rare
9
Weight for a Mob Captain being of rare rarity
.weight_legendary
1
Weight for a Mob Captain being of legendary rarity
To adjust the loot tables' weights, just modify the values at /data/ps-mob/loot_tables/captains/<rarity>.json
.
If you want to alter the items themselves, edit the loot tables at /data/ps-mob/loot_tables/base/<rarity>.json
.