GithubHelp home page GithubHelp logo

ps-dps / mobcaptains Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 1.06 MB

Rare and strong mobs, dropping illegally enchanted gear

Home Page: https://modrinth.com/datapack/mob-captains

License: MIT License

Python 2.08% mcfunction 97.92%
bosses datapack minecraft mobs

mobcaptains's Introduction

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.

The Mob Captains are buffed based on their rarity! Common
+50% Max Health
+2 Armor
+15% Movement Speed
+70% Attack Damage
+3% Knockback Resistance
Uncommon
+90% Max Health
+4 Armor
+25% Movement Speed
+120% Attack Damage
+10% Knockback Resistance
Rare
+180% Max Health
+8 Armor
+40% Movement Speed
+210% Attack Damage
+50% Knockback Resistance
Legendary
+270% Max Health
+15 Armor
+80% Movement Speed
+300% Attack Damage
+100% Knockback Resistance

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
.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

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.


PuckiSilver on GitHubPuckiSilver on modrinthPuckiSilver on PlanetMinecraftPuckiSilver on PayPal

mobcaptains's People

Contributors

puckisilver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mobcaptains's Issues

Can't hit Mob Capain in Survival Mode

Whenever a Mob Captain would spawn in, I would have to go into Creative mode just to kill it.
I have a hunch that a datapack is conflicting, not sure which one is messing with Mob Captains though.
pasted
pasted
pasted

I attached the datapacks I use on my server, maybe this will help narrow down the problem.
For some additional information, I'm playing on a Minecraft 1.20.1 hosted on Aternos.

[enhancement] option to turn off particles

I think this mod is causing variable extreme lag spikes when mob captains spawn in inaccessible regions. I'd like to disable their particles completely, but there's no option that I can find.

Spawn a captain manually

I add to the loot table an item and want to test it, but can't find any command to summon a captain, did the datapack have one ?

And i accidentally transform myself has a captain and can't remove it, did you have any idea on how to remove on myself ?

PS: your datapack is so cool, everyone on our server love it. Thank you for it

Make Mob Captains easier to find

I looked around but saw no option. It would be nice if we can change this value because the mobs are often far away or even not directly in reach if you have a big cave underneath.

Disable for spawners?

Hello,

Is there a config option to prevent captains from showing up from mob spawners?
It's okay if not; but was just curious.... feels cheaty to have nice gear handed to me :)

Thanks!

Glow effect not shown?

The issue is sometime it shown sometime it's not.
Also I'd like to file some concerns :

  • The particle beam is too short (can't be seen from indoor or inside cave), there should be a configuration whether how long it should stay and/or the color of the beam
  • Configurable how far the mob captain can spawn from the player. Sometimes it spawn far far far down the cave (even tho glow effect is enabled sometimes it's not shown)
  • About the glow effect, maybe can be setup to always shown whether behind the blocks or not.

It's really fun hunting the mob captains but finding them is so painful, with the glow effect and particle beam not really helping they despawn faster than anything. Hope to see this mod becomes viral~

I turned into a Mob Captain

I used the command /function ps-mob:convert/legendary

Now i dont know how to remove it from me

I did:
/effect clear @A
/kill @A

pls help me remove the effects i have a bunch of heart and speed idk how to remove it

Achievement gated drops.

I am not too sure how possible or practical this is, but it would be nice to gate certain drops behind advancements. For example, I already received 2 elytras in my world from captain drops, but I havent even been in the end yet.
So for example make diamond tools drop only after the user has the diamond advancement, elytras only when the user has the end advancement.

Unable to revert back to normal

I was checking some command and I saw the convert into captain one. I tried it but now I want to go back to normal, yet there seems to be no command to revert it back

Unknown Scoreboard

For some reason when im trying to configure rhe scores it says unknown scoreboard something… pls help it worked perfectly on my other server

Spawn

Hi I'm Mirak.
About Mob Captain Spawn, how do i set the spawn distance so they don't spawn underground but on the surface?
1 more, how to manage their number to spawn?

That's all, thankyou!!

Mob's Vanishing

Some Mob Captains will spawn from a normal Mob on land and when I go to them they will despawn right before I get to them, this happens to the ones that spawn above ground, most of the ones that spawn in caves I can make it to and fight it's just the ones on land despawn once I get close. This is not a 100% I can get to them sometimes but it's usually the ones that are at a distance that vanish once I get close.

400% increase in bandwith usage

I have installed Mob Captains mod on my Minecraft server, and suddenly bandwidth usage increased by 400% when player is still and not loading chunks or moving, here is a screenshot of the upload rate with mod installed on server:
Screenshot_20231028_215311

without the mod:
Screenshot_20231028_221528

The player was not moving and was in the exact same position during the tests, screenshots of bandwidth were taken after chunks were loaded

Mods installed on my server
├── Amplified_Nether_1.19.3_v1.2.1.jar ├── anti-xray-1.3.0-Fabric-1.19.2.jar ├── appliedenergistics2-fabric-12.9.8.jar ├── audaki_cart_engine--fabric-mc1.19.4--v2.0.3.jar ├── betterbeaconplacement-1.19.2-3.1.jar ├── betterthanmending-1.3.0.jar ├── bigger_end_cities-1.19.3-1.0.0.jar ├── boat-step-up-1.2.2+1.19.jar ├── c2me-fabric-mc1.19.2-0.2.0+alpha.9.11.jar ├── chunksending-fabric-1.19.2-2.6.jar ├── Chunky-1.3.38.jar ├── collective-1.19.2-6.65.jar ├── create_enchantment_industry-1.0.1.b.jar ├── create-fabric-0.5.1-c-build.1160+mc1.19.2.jar ├── create_jetpack-fabric-3.3.1.jar ├── create-track-map-1.4+mc1.19.2-fabric-create-0.5.1.jar ├── cupboard-fabric-1.19.2-2.0.jar ├── DailyDad-Server-fabric-1.19-1.3.3.jar ├── EmeraldTools-Fabric-1.19.2-1.4.38.jar ├── endermanoverhaul-fabric-1.19.2-0.0.0.jar ├── endgame-reborn-1.19-v1.0.5.jar ├── endium-v2.0.0-beta_1.jar ├── expandedstorage-8.3.4+1.19.2-fabric.jar ├── ExtendedDrawers-1.4.5+mc.1.19.2.jar ├── fabric-api-0.76.1+1.19.2.jar ├── fabric-carpet-1.19.2-1.4.84+v221018.jar ├── fabric-end-remastered-5.2.0-1.19.2.jar ├── fabric-language-kotlin-1.10.10+kotlin.1.9.10.jar ├── FabricShieldLib-1.7-1.19.2.jar ├── fabrictailor-2.0.1.jar ├── ForgeConfigAPIPort-v4.2.11-1.19.2-Fabric.jar ├── geckolib-fabric-1.19-3.1.40.jar ├── gottagofast-1.0.2-1.19.2.jar ├── jei-1.19.2-fabric-11.6.0.1018.jar ├── journeymap-1.19.2-5.9.7-fabric.jar ├── jsst-1.19-0.1.4.jar ├── LeavesBeGone-v4.0.1-1.19.2-Fabric.jar ├── lithium-fabric-mc1.19.2-0.11.1.jar ├── MapFrontiers-1.19.2-2.5.1-fabric.jar ├── memoryleakfix-fabric-1.17+-1.1.2.jar ├── mes-1.2-1.19.2-fabric.jar ├── moonlight-1.19.2-2.2.45-fabric.jar ├── plenty-of-armors-1.3.0+mc1.19.2.jar ├── polymorph-fabric-0.46.4+1.19.2.jar ├── PuzzlesLib-v4.4.3-1.19.2-Fabric.jar ├── resourcefulconfig-fabric-1.19.2-1.0.20.jar ├── resourcefullib-fabric-1.19.2-1.1.24.jar ├── serversleep-datapack.jar ├── servertick-mc1.19-1.7.jar ├── spark-1.10.37-fabric.jar ├── starlight-1.1.1+fabric.ae22326.jar ├── Steam_Rails-1.5.1+fabric-mc1.19.2.jar ├── supplementaries-1.19.2-2.3.24-fabric.jar ├── Technical- Enchant+_v1.0.2_1.19.2_Fabric.jar ├── Terralith_1.19.3_v2.3.11.jar ├── toms_storage_fabric-1.19-1.5.9.jar ├── TooManyTools1.0.jar ├── ultris-5.6.7g.jar ├── uncraftables+-1.1.jar ├── vanilla-refresh-1.4.17.jar ├── viewdistancefix-1.19.2-1.0.0.jar └── wraith-silkspawners-1.1.2.jar

Server launch command:
java -Xmx3G -jar fabric-server-mc.1.19.2-loader.0.14.22-launcher.0.11.2.jar nogui

The host machine is Linux 64 bit with JDK 21 installed on it
I also tried removing all of the mods and leaving only Mob Captains mod but get same exact issue
Server is 1.19.2 fabric 0.14.22
What might be causing the issue? It is a real problem on limited connections, especially when a lot of players are on the server

Nerf (Raid) Farm spawns

I would like to exclude mob captains from raids. I think that is causing an issue with a raid farm. I think Evokers are becoming captains, making them stay around a long time, and then causing Vex's to stick around and break the farm.

Mod and datapack? Mod OR datapack?

There is no how-to, and the modrinth page has a mod and a datapack available for download, yet the URL has datapack in it.

Which one gets installed? Is there an option, or does it require both?

Error

i always get this when i start my server

[08:10:10] [Worker-Main-1/ERROR]: Couldn't parse element loot_tables:ps-mob:base/uncommon - Not a json array: {"function":"minecraft:set_name","name":{"text":"Apocalypse","color":"dark_red","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Bulletproof Vest","color":"gray","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Diving Helmet","color":"aqua","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Winter Flippers","color":"blue","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Soul Stepper","color":"dark_aqua","italic":"false","bold":"true"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"S.W.A.T. Pants","color":"dark_gray","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Long Fall Boots","color":"aqua","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Tough Horse Armor","color":"white","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"S.W.A.T. Vest","color":"dark_gray","italic":"false"}}
[08:10:10] [Worker-Main-1/ERROR]: Couldn't parse element loot_tables:ps-mob:base/common - Not a json array: {"function":"minecraft:set_name","name":{"text":"Primitive Mining Drill","color":"dark_gray","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Primitive Chainsaw","color":"dark_gray","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Mjölnir","color":"yellow","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Multiplier","color":"white","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Match","color":"red","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Cactus","color":"dark_green","italic":"false","bold":"true"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Propeller Hat","color":"green","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Greed","color":"gold","italic":"false","bold":"true"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Knockback Stick","color":"gold","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Riot Shield","color":"dark_gray","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Medkit","color":"light_purple","italic":"false"}}
[08:10:10] [Worker-Main-1/ERROR]: Couldn't parse element loot_tables:ps-mob:base/legendary - Not a json array: {"function":"minecraft:set_name","name":{"text":"Robin's Bow","color":"dark_purple","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Immortal","color":"gold","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Plated Elytra","color":"dark_gray","italic":"false"}}
[08:10:10] [Worker-Main-1/ERROR]: Couldn't parse element loot_tables:ps-mob:base/rare - Not a json array: {"function":"minecraft:set_name","name":{"text":"YOLO","color":"dark_red","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Cornucopia","color":"gold","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Poseidon's Trident","color":"dark_aqua","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Reaper's Scythe","color":"black","italic":"false","bold":"true"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Lucky Charm","color":"dark_green","italic":"false"}}; Not a json array: {"function":"minecraft:set_name","name":{"text":"Ripper","color":"dark_aqua","italic":"false"}}

Add a configurable glowing effect?

It would be nice to have a toggleable glowing effect for mob captains to make them easier to find. Even with my spawn rate up, I've only actually found a mob captain once or twice after the message appeared.

Command config stopped working.

Hello, I've been using (and enjoying) your datapacks/mods in my server, however the commands for config has suddenly stopped working. I am able to pull up the config menu in chat but unable to change any of setting. Every time I try to change, it results in "unknown scoreboard objective". Do you have any troubleshoot for this issue? It occurs in Keep Some Inventory mod also. I am using the mod version.

-Update-
Fixed it by changing to datapack version.

Configurable drop

It would be a pretty essential feature to add your own lootable to captains. Maybe via datapack

CurseForge Port?

Hi!..I want to create a modpack using your mod, because although it is similar to its relative (Infernal Mobs), it brings energy more similar to Shadow of Mordor features (Who knows in the future you create a port of the Nemesis system together, lol). But to create a modpack (Forge) by curseforge, all mods used must be listed there, and yours is not... there are almost 10 thousand downloads on Modrynth, so...
By the way, I know that the license is MIT, so theoretically everything is fine, but it is very annoying to manually ask to publish, not being the creator of the mod itself.

Unknown Scoreboard Objective 'ps-mob:config'

Minecraft 1.19.2 Reincarnation Modpack

When using the /function ps-mob:config command and clicking on the settings, I get the error Unknown Scoreboard Objective 'ps-mob:config'.

I've attempted to use both the datapack and the mod. Autofill works but the scoreboard doesn't seem to be getting initialized. I'm not incredibly familiar with scoreboards, any insights you can provide me?

Commands for testing

Would be really nice to have commands for testing mob captains to make sure they are interacting with other mods properly and for testing loot tables.

Compatibility with other Mob Data Packs

Hello. I really like the idea if your datapack and was using it alongside https://modrinth.com/datapack/special-mobs. After sometime i noticed that special mobs not spawning at all, only mob captains. I cranked special mobs chances to 100% to test in superflat world and indeed none of them spawned. I read the code but couldn't figure out where the conflict is… It would be awesome if you can help! I'm using latest versions of both datapacks and minecraft 1.20.1. Thx!

Language localization

In the 1.18.2forge version I use, there are currently no lang files, which makes it impossible to localize either special items or messages.

This mod breaks mob spawner

Just added this mod but seems to affect mob spawns for me in a way that breaks mob spawn farms. I have one currently setup but nothing spawns when this mod is active.

config function does not exist (1.20.4)

sorry if this is stupid, but for some reason I can't use the config command to change the settings for the datapack, all the other functions are visible, but '/function ps-mob:config' doesn't work and I get 'Unknown function ps-mob:config'

S.W.A.T. West

Not sure if it's a pun or a typo. But I assume it should be called S.W.A.T. Vest.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.