跳到正文

Fabric per player spawns

作者:vlad2305m

Each player has their own mob cap (of 70 by default)

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Forked from Lambdacraft because he went afk.

This mod is intended to distribute mobs evenly between all players on a fabric modloaded server.

I rewired the mixins to work with 1.16.5, and then just rewrote that part of the mod as I see fit.

How it works: 

  • modifies spawn logic to count chunks (and mobs in them) in a (square) radius around the player and account for chunks shared between the players
  • radius to account is based on (server) render distance (like mob caps in vanilla)
  • in the end each player has their own mob cap which applies to chunks around that player. (the most full one is applied in case of overlap)
  • hold glistering melon in creative/spectator to see debug info

\[This means if two players are relatively close to each other\\, they can either have 70\* mobs in the area between them, or 70\* mobs each if no mobs are between them. Though, usually, it will be 70\⋅1.5\\=105 mobs, as intended by vanilla.\]\
\
default monster mobcap, can be changed\
\\ ~1 server render distance; n_chunks_loaded_by_these_playres/(SRD⋅2+1)²

 

Works with Proper Mobcap Modifier) (by me)

常见问题

Fabric per player spawns 支持哪些 Minecraft 版本?

Fabric per player spawns 支持 Minecraft Java 版 1.20–26.3,共 18 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Fabric per player spawns 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

vlad2305m 的其他作品

查看全部 →