LeavesMC / Leaves

Fork of Paper aimed at repairing broken vanilla properties.
https://leavesmc.org
Other
408 stars 42 forks source link

Mob Switch - Mobs not prohibiting spawning of other mobs #265

Open Bluemangoo opened 3 months ago

Bluemangoo commented 3 months ago

省流:issue 中列出的四项不计入刷怪上限,无法制作伪和平。

Mob switch 译作伪和平。

Bluemangoo commented 3 months ago

外群报的我没验证。

Bluemangoo commented 3 months ago

the temorary solutions:

  1. set count-all-mobs-for-spawning to true and per-player-mob-spawns to false (at paper-world-defaults.yml)
  2. or try settings.modify.force-peaceful-mode (leaves.yml)

临时解决办法:

  1. count-all-mobs-for-spawning 设为true,将per-player-mob-spawns 设为 false
  2. 或者使用 settings.modify.force-peaceful-mode
s-yh-china commented 3 months ago

之前就考虑过这个问题per-player-mob-spawns是可能有用的 所以做了强制伪和平系统来凑合一下

MC-XiaoHei commented 3 months ago

现有强制伪和平的判断似乎不是很好? 我们能否利用原版的代码来判断是否应该启用伪和平,并实际上用paper的代码去处理其他情况?

s-yh-china commented 3 months ago

要是方便我就直接写了

---Original--- From: @.> Date: Sun, Jul 28, 2024 11:01 AM To: @.>; Cc: @.**@.>; Subject: Re: [LeavesMC/Leaves] Mob Switch - Mobs not prohibiting spawning of other mobs (Issue #265)

现有强制伪和平的判断似乎不是很好? 我们能否利用原版的代码来判断是否应该启用伪和平,并实际上用paper的代码去处理其他情况?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Bluemangoo commented 3 months ago

要是方便我就直接写了