Is there a way to kick a player out of their world in 1.21.1 NeoForge?

Started by bonfy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to kick a player out of their world in 1.21.1 NeoForge?

I'm trying to make an entity that kicks a player out of their world, but 1.20.3+ disabled the /kick command in singleplayer. Is there a way to somehow still do that?

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you tried using "…
Thu, 06/19/2025 - 17:09

Have you tried using "/execute at @n run /kick @e[nearest=1]"? I don't really know if it works though...

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nope
Fri, 06/20/2025 - 08:27

nope

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Sat, 06/21/2025 - 09:02

bump

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
dispose the player entity
Sat, 06/21/2025 - 10:45

dispose the player entity

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how exactly am i supposed to…
Sat, 06/21/2025 - 11:23

how exactly am i supposed to do it

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
another bump
Mon, 06/23/2025 - 11:13

another bump