How to kill a specific entity that isnt the player using button in GUI

Started by Dennn on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to kill a specific entity that isnt the player using button in GUI

I think my problems pretty simple. I'm making a mod where i want to kill my custom entity and replace it with another custom entity using a GUI button but i cant seem to find a way to make this happen. Any help would be appreciated!