Giter Site home page Giter Site logo

vlad2305m / fabric-per-player-spawns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lambdacraft/fabric-per-player-spawns

6.0 6.0 3.0 162 KB

per-player-spawns from Paper implemented as a Fabric mod

License: GNU General Public License v3.0

Java 100.00%

fabric-per-player-spawns's People

Contributors

unsupervisednn avatar vlad2305m avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

fabric-per-player-spawns's Issues

Feature Request: Y level range constraints

Looking at the stats when i go around in my world alot of creatures are culled

is this because the spawn area is a cube? could it perhaps be divided into configureable constraints?
i just want most mobs spawing at the same height level at me
it would be nice if you could have both upper and lower limits so you could have more spawning above you than under you

Weird End/Nether issues

Hello ! Sometimes no enderman or pigmen spawn in the end/nether anymore.
One time it happenned, there was tons of enderman on a side of the main island, and even tho I killed them all, none were spawning except in those 20 blos radius

Thanks for the mod ! Realy helpfull anyways !

Mob Switch Not Working

Mobcap is supposed to be occupied by chunk loaded withers but is not treated like that or something along those lines. By removing the mod, the mob switch starts working and no hostile mobs spawn.

Can't achieve mobcaps when a player floats high above another player

At a glance

When two players share a 'spawn sphere', and one of the players if flying high in the sky (or any other way to position that player so that she would not cause any mobs to spawn if she were alone), the mobcap for the 'bottom' player is reduced, sometimes all the way to 0, depending on distance.

Setup

per-player-spawns 1.17-2.0.0
MC 1.17.1
carpet 1.4.44

Replicate

  1. get world: Gnembon 'flush mobfarms'
  2. use carpet to spawn players at the following positions
    a. player Steve spawn at -299 111 -149 and turn the two mobfarm towers on (levers on top of the two holes in the ground)
    b. player Alex spawn at -313 148 -715 and turn the mobfarm tower on
  3. position the real player with Alex on the spawn platform: mobcap is 140, (3 players, 2 sharing the same mobcap), ~120-135 or so mobs will spawn split in the two farms, both farms have a good rate
  4. position the real player on top of Alex tp -313 350 -715 (floating right above Alex): mobcap is still 140 (normal), mobcap use is ~135 (looks normal)
  5. position the real player at -516 350 -782 (somewhat in Alex spawn area): mobcap increases to 197, of which about ~135 will be used (looks normal)
  6. position the real player at -542 350 -640 (somewhat in Alex spawn area): mobcap increases to 200, of which only 70 is used, HUHO
  7. tp 1000 100 1000, mobcab becomes 210, of which 190-210 is used (normal)

As you can see, player positioning in case 6. appears to cause some break in the logic. This position also happens to be "intermediate" between the two bots which may be the root cause of the bug.

1.17 barely working and Strange behavior

It doesn’t seem to be working properly in 1.17.

I tested this with a friend and an alt account, where I was at the end, my friend in his base and the alt account was sitting in an afk spot high in the sky for a gunpowder farm (2000+ blocks away from his base).

After nearly a whole hour I went from the end to the gunpowder farm to check how much it had produced, it only had 28 drops in one hour.

I waited a bit longer and nothing, so me and my friend logged off and I timed 5 minutes on the dot, when I logged to check in those 5 minutes it had produced 20 gunpowder, when we are online and far from the gunpowder farm it only produced 28 in 1 hour.

game crash, only mod mentioned being perplayerspawns

was just walking around a bit experimenting other mods and then crashed with this crashlog:

Description: Exception ticking world

java.lang.IncompatibleClassChangeError: Class [J does not implement the requested interface dev.lambdacraft.perplayerspawns.access.InfoAccess
at net.minecraft.class_3215.md425d3b$lambda$setupSpawning$0$1(class_3215.java:1636)
at net.minecraft.class_3215$$Lambda$7025/362414448.accept(Unknown Source)
at java.util.Optional.ifPresent(Optional.java:159)
at net.minecraft.class_3215.method_27907(class_3215.java:409)
at net.minecraft.class_3215$$Lambda$7023/1355941445.query(Unknown Source)
at net.minecraft.class_3215.redirect$bje000$setupSpawning(class_3215.java:1632)
at net.minecraft.class_3215.method_14161(class_3215.java:361)
at net.minecraft.class_3215.method_12127(class_3215.java:337)
at net.minecraft.class_3218.method_18765(class_3218.java:353)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:871)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at net.minecraft.server.MinecraftServer$$Lambda$6605/1660782010.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.class_3215.md425d3b$lambda$setupSpawning$0$1(class_3215.java:1636)
at net.minecraft.class_3215$$Lambda$7025/362414448.accept(Unknown Source)
at java.util.Optional.ifPresent(Optional.java:159)
at net.minecraft.class_3215.method_27907(class_3215.java:409)
at net.minecraft.class_3215$$Lambda$7023/1355941445.query(Unknown Source)
at net.minecraft.class_3215.redirect$bje000$setupSpawning(class_3215.java:1632)
at net.minecraft.class_3215.method_14161(class_3215.java:361)
at net.minecraft.class_3215.method_12127(class_3215.java:337)
at net.minecraft.class_3218.method_18765(class_3218.java:353)

-- Affected level --
Details:
All players: 1 total; [class_3222['SpinnyBoiii'/148, l='ServerLevel[New World]', x=-226.79, y=70.39, z=406.82]]
Chunk stats: ServerChunkCache: 4084
Level dimension: minecraft:overworld
Level spawn location: World: (184,68,255), Chunk: (at 8,4,15 in 11,15; contains blocks 176,0,240 to 191,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 11033 game time, 11033 day time
Level name: New World
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Level weather: Rain time: 62795 (now: false), thunder time: 10385 (now: true)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:871)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at net.minecraft.server.MinecraftServer$$Lambda$6605/1660782010.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Certain spawngroups go crazy sometimes

Now and again I have an issue on my server where we suddenly get tons and tons of squids & dolphins spawning.
We're talking thousands.

I thought I knew exactly how to duplicate the issue, but my latest attempts have failed. Here's what it looks like:

afbeelding

Even though Carpet's /spawn mobcaps command says the mobcap for water_creatures is currently set at 66, over 1685 have actually spawned.

At first I thought it was some strange issue regarding spawn chunks (because this is just around spawn), but there's just a lot of water around my spawn, so that's probably a coincidence.

And it doesn't only happen here, something similar happens in the nether:

afbeelding

Spawns WAY too many mobs

Whenever I install this mod even with the mob cap modifier set, it spawns game breaking levels of mobs

Solo Mob Spawning Different From Vanilla

A player on my server was sitting AFK at a gold farm. He reported roughly 30 pigmen spawned prior to disabling the mod. Many more spawned after disabling. He was the only one on at the time. He was also able to compare it between our two servers, survival and creative. Creative didn't have the mod and was much faster as well. Is this what the mod is supposed to do?

1.18

Any plans for a 1.18 version? I would love to use this on my SMP with friends.

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.