Villainous Horde Manager 图标

Villainous Horde Manager

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/villainous-horde-manager
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: library

资源介绍

Villainous Horde Manager is a tool for creating Continuous Horde events

The Shorthand Explanation

The code for this mod is based off of Cold Snap Horde and its horde system, where the server will try to keep a consistent number of enemies alive until enough have been killed to end the event. When I wrote the code for Cold Snap Horde's version though, it wasn't very... reusable. This api is my attempt at fixing that, capable of spawning vanilla (or modded) mobs and sending them towards the target player like the snowmen do during the horde event.

You can now make your own hordes via JSON magic
See the github page for more information on how to do this. It and extending off of it is frankly the recommended path.

If you are a mod developer and you want more control over a custom horde
Also see the github page. Each module has an example of how to instantiate hordes and get them to function correctly for a given platform (quilt being the same as fabric, for this case)

Interested? Here's some more!

If you're still reading this, you're probably a developer interested in looking into the code for this event. Which is very neat! I'll happily accept contributions that I see as helpful additions, and help out within reason to get you set up with hordes.

Extra details about horde requirements:

  • Entities added to the horde must extend the PathfinderMob class.
  • Bigger entities are harder to spawn due to the system attempting to avoid situations where mobs would suffocate. Try to keep larger mobs to a minimum/to low spawn weights.
  • The api will scan the environment around a potential spawnpoint for any solid blocks. The size of the scan depends on the size of the mob, meaning larger mobs will be more expensive on server resources.
  • The system tries to spawn mobs at a relatively close Y level to the player (preferring locations above the player over below).
  • If the system can not find a nearby Y level, it'll settle for any Y level it can find.

Server Hosting

I've partnered with BisectHosting! If you need a quality server, click the picture below and use code "cartoonish" for 25% off your first month!

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Take Back the Night

价格:0 墨喵币
下载量:0

查看详情
Custom Portal Builder

价格:0 墨喵币
下载量:0

查看详情
Reshinify by SirHoka

价格:0 墨喵币
下载量:0

查看详情
Clearer More Transparent Water

价格:0 墨喵币
下载量:0

查看详情