In Control!

In Control!

82M Downloads

I am trying to close the oceans. The code does not give an error but the oceans spawn.

Revenge2K opened this issue · 13 comments

commented

I want to ban the oceans and I wrote a code like this : (spawn.json)

[
{
"dimension": "minecraft:overworld",
"biome": [
"minecraft:ocean",
"minecraft:deep_ocean",
"minecraft:lukewarm_ocean",
"minecraft:warm_ocean",
"minecraft:cold_ocean",
"minecraft:deep_lukewarm_ocean",
"minecraft:deep_warm_ocean",
"minecraft:deep_cold_ocean"
],
"result": "deny"
}
]

commented

I use 1.19.2 latest forge version

commented

Ok so? What's the problem?

commented

Ok so? What's the problem?

When I join the world I don't encounter any problems, but the oceans keep spawning. The code seems to work but actually it doesn't.

Another question is how can I reduce the probability of a mob spawning? i wrote such a code in spawner.json but when i joined the world it told me that the weight is invalid
[
{
“mob": [
“antlers:wendigo”,
“antlers:wendigo_flute”,
“antlers:wendigomad”,
“apollyon:the_damned”
],
“weight": 0.1
“groupcountmin": 1
“groupcountmax": 1
}
]

I want to both adjust the spawn probability and remove the oceans.

commented

Try adding "onjoin": true to the first rule. Your spawner.json rule is not valid. Check the wiki for examples on how to properly write it

commented

Try adding "onjoin": true to the first rule. Your spawner.json rule is not valid. Check the wiki for examples on how to properly write it

I wrote it down, but it still doesn't work. The oceans are still emerging.

commented

How are you testing? Describe EXACTLY what you are doing? Also show your current spawn.json after making the modification I asked

commented

Also it might be a lot easier to come to my discord

commented

How are you testing? Describe EXACTLY what you are doing? Also show your current spawn.json after making the modification I asked

I'm using Biomes O' Plenty and TerraBlender mods. Here is my spawn.json document:

spawn.json

Using in control mode I want to do the following:
-I want to eliminate oceans completely or make their spawn rate 1%.
-I want to reduce the spawn rate of mobs from different mods on the world.

  • I want to make it mandatory for a mob with the id ''domestoss_mods_tree_guards:tree_guard'' to be dewpan after killing a player.

It will be great if I can do these. Can you tell me the code and if I should write it in spawn.json or spawner.json ?

Discord is banned in my country, so we have to do it here.

commented

By eliminating oceans I suppose you mean mobs from oceans? In Control doesn't do worldgen so it can't prevent biomes from happening. It only works on mobs

commented

By eliminating oceans I suppose you mean mobs from oceans? In Control doesn't do worldgen so it can't prevent biomes from happening. It only works on mobs

Yes, I meant eliminating the oceans, but you're right. I need to find another way for the oceans.
Can you help me with the other problems I listed?

commented

Well that despawn thing is also not possible. Not sure what else there is? Can you clarify any further questions you have?

commented

Well that despawn thing is also not possible. Not sure what else there is? Can you clarify any further questions you have?

1- So how can we reduce the spawn frequency of a mob for the whole “minecraft:overworld”?

2- Another question, can we ban a monster from spawning before 3 days have passed? For example a zombie can spawn on day 3, banned on day 4, banned on day 5 and spawned again on day 6. On the 7th day it is banned again.

commented
  1. Use a rule with "random" and "deny". i.e. with a random chance deny a spawn
  2. yes, use 'mindaycount' or 'maxdaycount' in your rules. There are examples in the wiki