Started by
kisupiru
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to make it so a weapon makes mobs despawn and players invisible + other stuff to recreate that (only for like 15min), but idk how i would do that. Like how do i make it so if player 1 hits player 2 with the weapon player 2 gets "despawned" aka completely invisible, items, armor, and all.
set gamemode to spectator? Then after 15 minutes tp player to original position. Or save inventory to a variable and remove everything and make invisible with no particle effects.