How do i make a player fully invisible

Started by kisupiru on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make a player fully invisible

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.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
set gamemode to spectator?…
Sat, 10/25/2025 - 11:21

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.