Hi!
Does somebody know any data pack that adds alternative way to block monster spawn, working on 1.18? Something like megatorch but still working ;) Something to use without commands.
Does somebody know any data pack that adds alternative way to block monster spawn, working on 1.18? Something like megatorch but still working ;) Something to use without commands.
2
It is impractical to control mob spawns directly, but you could "cancel" mob spawns with
execute at @e[tag=spawnBlocker] run tp @e[type=#blocker:hostile_mobs,distance=..100,tag=!counted] ~ ~-1000 ~
tag @e add counted
Basically, define a list of hostile mobs and when a new one spawns within 100 blocks of the marker, despawn it by teleporting it into the void.
execute at @e[tag=spawnBlocker] run tp @e[type=#blocker:hostile_mobs,distance=..100,tag=!counted] ~ ~-1000 ~
tag @e add counted
Basically, define a list of hostile mobs and when a new one spawns within 100 blocks of the marker, despawn it by teleporting it into the void.
Hi,
I would rather suggest to try the mod:
In Control
https://www.curseforge.com/minecraft/mc-mods/in-control
(however for 1.18.x it's still in beta phase)
I would rather suggest to try the mod:
In Control
https://www.curseforge.com/minecraft/mc-mods/in-control
(however for 1.18.x it's still in beta phase)
