Nitespring / MonsterPlus

0 stars 0 forks source link

Setting spawn_demon_eye/spawn_ender_eye to false not working #4

Open joeystombaugh opened 1 month ago

joeystombaugh commented 1 month ago

I am running a server on version 1.21.1 with neoforge and my config currently looks like this

    #Spawn configs:
    #Will the Abyssologer affect players with Darkness?
    do_abyssologer_darkness = true
    #Will the Abyssologer spawn?
    spawn_abyssologer = true
    #Will the Crystal Zombie spawn?
    spawn_crystal_zombie = true
    #Will the Swamp Zombie spawn?
    spawn_swamp_zombie = true
    #Will the Glow Skeleton spawn?
    spawn_glow_skeleton = true
    #Will the Lava Squid spawn?
    spawn_lava_squid = true
    #Will the Mother Lava Squid spawn?
    spawn_mother_lava_squid = true
    #Will the Overgrown Skeleton spawn?
    spawn_overgrown_skeleton = true
    #Will the Demon Eye spawn?
    spawn_demon_eye = false
    #Will the Ender Eye spawn?
    spawn_ender_eye = false
    #Will the Corrupted Ancient Hero spawn?
    spawn_ancient_hero = true
    #Will the Wisp spawn?
    spawn_wisp = true
    #Will the Soul spawn?
    spawn_soul = true

but even with demon eye and ender eye disabled, they still spawn.

it causes a pretty big issue with a mob farm we have set up.

image

Nitespring commented 1 month ago

Is that a problem with only those two? Sometimes the game generates 2 separate config files and only one is the correct one. Check if there is another config file, in the meantime I'll check on my end

daggontale commented 1 month ago

I am only seeing one monsterplus-common.toml file in my /configs dir on my server. I am the same person just so you know, I accidentally opened the ticket with my work account lmao.

Nitespring commented 1 month ago

I couldn't find the problem in the code for now, I'll test more. in the meantime you can use a datapack to change data/darkestsouls/neoforge/biome_modifier/demon_eye.json to remove the spawn settings of the entity

daggontale commented 1 month ago

Alright, I will look into it. Thank you!

daggontale commented 1 month ago

Also, Just because I haven't ever done this particular thing with datapacks before, what would I need to change in the json file in order to prevent spawning? I made the datapack and got the regular file from the your mod jar then added it to the specified path in the datapack folder but I am not sure what to add/remove/change in order for it to no longer spawn. Thanks in advance!

Nitespring commented 1 month ago

{ "type": "neoforge:none" }