I built a house with a pool in the basement last week. Squids are swimming in it now. How do I get the way without them coming back? I don't find anything in the settings.
Not at all. The spawns are random. So either command to kill them or kill yourself. Problem is they will come back.
Otherwise I can have a look at it, the game also has xD
Building a mobswitch for squid is very, very expensive. Otherwise just look in the Minecraft wiki what the prerequisites for spawning are and see what you can change without changing the look too much.
So either you kill them all the time or deactivate that creatures spawn at all
Or you build it higher than height y64
The most effective is probably to build the pool above y = 64.
With - gamerule doMobSpawning false - no more mobs will spawn at all.
If you kill them, they are only temporarily gone.
With a command block you could kill them immediately or teleport away, that would be - kill @e [distance = .10, type = squid] - or - tp @e [distance = .10, type = squid] ~ 0 ~ -.
That's why I wrote it… I've been playing for 10 years myself…