r/MinecraftCommands • u/Nalle-poijjaat • 11h ago
Creation Tesla coil ability
first of hopefully many abilities
r/MinecraftCommands • u/Nalle-poijjaat • 11h ago
first of hopefully many abilities
r/MinecraftCommands • u/Nalle-poijjaat • 11h ago
I want to make a custom projectile that doesn't do damage but instead subtracts an amount from a score from the hit player but I don't know how to get the hit detection right. using distance doesn't work since it tracks position and not the player hitbox.
I already know how to get the projectile moving, just need help with the hit detection.
Any help is appreciated.
r/MinecraftCommands • u/kotnkxd • 19h ago
I'm trying to create a simple ban menu in my vanilla Minecraft world that opens when I run /trigger banmenu.
The idea is to automatically display a list of all currently online players, with a "Ban" button next to each player's name. Banning a player would simply teleport them to a specific location rather than actually using the /ban command.
The teleportation part isn't a problem. What I can't figure out is how to dynamically retrieve the list of online players and generate dialog buttons for each of them.
I want the player list to update automatically whenever the menu is opened, without having to manually specify player names.
Is this possible using vanilla commands or a datapack, or is it a limitation of the dialog system?
I'm open to any vanilla workarounds.