Started by
Mista Dev
on
Topic category: Help with Minecraft modding (Java Edition)
Ok, so, i made an infinity gauntlet. My only problem?
I dont know how to snap/kill 50% or 100% of mobs around the player in a specific block radius.
If this requires coding, please move this to advanced modding. Thanks in advance.
I see where this is going :D, but this is not possible yet. We have this in plan though: https://mcreator.net/tracker/issue/47617
Alright then. Until then, i'll just find other thing to make it more similar to the infinity gauntlet.
There is a command. The command /kill could be used to wipe out 100% of entities around player. /kill @e[!type=player,r=10] for example would kill all entities within 10 blocks of the player. So basically, what the command does is kill all entities except players in a radius of 10 blocks. Make it execute at the player and you got yourself an infinity gauntlet.
Commands will only work if the player/entity has permission to execute it.
Is there a way to disable this? So the execute command procedure block works without permissions, BUT only on client side because it would be a real problem in Servers
I don't think so as permission checking is on both sides and kinda hardcoded in Minecraft.