How to make entity that kill all everything even player in creative mode and spectator mode

Started by RestartTheWorld on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 months ago
Joined Feb 2025
Points:
74

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
How to make entity that kill all everything even player in creative mode and spectator mode

I'm starting to build a mod with extremely powerful weapons and entities, and I want to create one last entity before I release the beta that has the power to kill and destroy everything in the world. Even if the player presses respawn, it will kill the player over and over again. Thanks for the comment (:

Active 4 months ago
Joined Dec 2024
Points:
135

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 173
I don't think spectators can…
Wed, 02/12/2025 - 14:49

I don't think spectators can be killed, they are kind of ghosts(invisible, just observers), not valid players. Creative players can be only killed by void, so try to make your mob teleporting the person below bedrock

Active 10 hours ago
Joined Sep 2024
Points:
140

User statistics:

  • Modifications: 3
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 92
(No subject)
Tue, 02/18/2025 - 18:44

answer

Active 4 months ago
Joined Feb 2025
Points:
74

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
I want it to kill players…
Sat, 03/08/2025 - 11:21

I want it to kill players continuously when they summon it.

Active 11 hours ago
Joined Mar 2025
Points:
89

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 85
you can make it on world…
Tue, 03/18/2025 - 13:02

you can make it on world tick in global triggers, and if your entity can't survive /kill, check if the entity is player or check if the entity is not your entity and if yes, do the command