The Bumblezone (NeoForge/Forge)

The Bumblezone (NeoForge/Forge)

23M Downloads

When I join the bumblezone my server crashes

alucold opened this issue · 12 comments

commented

Hello its me again. I just realized i gave the wrong crash report as I was trying to find to others that had the same problems in this github. this is my actually crash report and i do not have dimensional threading mod installed. again I am able to join the bumblezone for a few seconds and then it just stops and it happens the same when im in single player.

crash-2025-05-22_23.59.27-server.txt

commented

theyre usually not that big. and since the mod isnt create by you idk how it spawns in your dimension. So that means if im able to tweak it such that they dont spawn in your dimension it should be good then right? am I able to set what mobs that can spawn in the bumblezone dimension ?

commented

Failed to create mob: CrazinessAwakenedCoinEntity['Craziness Awakened Coin'/2987, l='ServerLevel[world]', x=-1563.50, y=88.00, z=542.50]

Huh? This isn’t my mod’s entity and why is it spawning in my dimension? Did you add this mob to my dimension or did the mod injected their mob into my dimension? And how big is that mob?

My logic here looks to correctly place the entity in the currently generating chunk. Unless this mob is so large that the checkSpawnObstruction is dying on the entity size as it cannot be fit in the chunk

commented

is there a way in your mod config to prevent spawns from other mods?

commented

Other mods adding their stuff to my dimension is outside of my control. It’s on the mod doing the injecting to have their own config because it is their code and logic that is doing the change.

commented

all i did was add the mod to the modpack i have and that was the first time i entered the bumblezone. so i guess it did inject their mob into your dimension?

commented

You would need to talk to the dev the mob is from and ask them to stop injecting their mob into all biomes, especially those in other dimensions. The part that is crashing might not be able to be worked around by using In Control mod to block the mob. I can try looking into my code again but iirc, it’s a near copy of vanilla’s spawning logic so no idea why that mob isn’t crashing overworld as well

commented

ill try to see if i can use in control mod to block it

commented

Image

So it seems the coin spawns in my biomes because Craziness Awakened set the biome modifier to apply to all biomes to spawn the coin. If you make a datapack to override this file
\data\craziness_awakened\forge\biome_modifier\craziness_awakened_coin_biome_modifier.json

With this:

{
  "type": "forge:add_spawns",
  "biomes": {
    "type": "forge:not",
    "value": "#the_bumblezone:the_bumblezone"
  },
  "spawners": {
    "type": "craziness_awakened:craziness_awakened_coin",
    "weight": 30,
    "minCount": 1,
    "maxCount": 1
  }
}

I think this should work.

commented

im not too well verse in making datapacks. Do i just take that json file and zip it?

commented

https://datapacks.mrbysco.dev/

A datapack is a folder with a pack.mcmeta file and the data folder in it. So the datapack would have two files in it.
datapackname/pack.mcmeta
datapackname/data/craziness_awakened/forge/biome_modifier/craziness_awakened_coin_biome_modifier.json

See the link for more info and how to apply the datapack

commented

Though I managed to reproduce the crash locally in my dev environment by getting craziness awakened running. I might be able to do a workaround to stop the crash. Though their Spit Bugs are spawning everywhere due to a bug on their end that they are going to fix soon. Maybe datapacking Spitbug would be something you'll want to do until they update

Image

commented

Fixed with 760ac01

v7.7.3 with workaround/fix should be released shortly.