Could you please write out a command that teleports all creepers that spawn in or enter a 120 block radius from the command block location (or from center of home: 70 35 73) to this location: 30 50 -24? Repeating forever.
And if it isnt spherical, then perhaps infinite on up and down axis. Thanks
I need some home protection from creepers.
Could you please write out a command that teleports all creepers that spawn in or enter a 120 block radius from the command block location (or from center of home: 70 35 73) to this location: 30 50 -24? Repeating forever.
And if it isnt spherical, then perhaps infinite on up and down axis. Thanks
Does it work with:
/tp @e[type=creeper, distance=..120] 30 50 -24
It works for me.
Except I was testing with
tp @e[type=minecraft:creeper,distance=..120] 150 100 99
and 150, 100, 99 was inside the area so they kept getting re-teleported and then started dieing of overcrowding.
Just testing.
I don't think re-teleportation has to do anything with them dying of overcrowded. To prevent re-teleportation, you'd have to use /execute unless
To prevent them from dying like this, just do:
/gamerule maxEntityCramming 0
Perseverance always pays. Sooner or later.
If they weren't being constantly re-teleported they would fall to the ground and walk away, so they wouldn't die of overcrowding.
The solution is to teleport them outside the area they are teleported from, perhaps under the world so they fall into the void.
Just testing.