Language

Fabric per player spawns

Fabric per player spawns

Modrinth

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

4.2k downloads 31 followers updated 1mo ago
latest v3.2 Modrinth
Fabric 1.20 – 26.1.2 Game-mechanicsManagementMobs

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)

Versions

Release
3.2
fabric · 1.21.6, 1.21.7, 1.21.8 · 1mo ago
223
Release
3.1
fabric · 1.21.6 · 12mo ago
423
Release
3.0.7
fabric · 1.21, 1.21.1, 1.21.2 · 15mo ago
Updated to 1.21.4 Hopefully works
782
Release
3.0.6
fabric · 1.20, 1.20.1 · 36mo ago
- fixed mixin signature mismatch
2.8k

Comments 0

No comments yet. Be the first to share your thoughts.

Download Fabric per player spawns

Files are served directly from the original source. Modgrid does not host or modify them.