i cant delete mobs with command on my server

Started by moriyama on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i cant delete mobs with command on my server
Hello, I created a mod in which there are about 20 mobs, I made them all of the "monster" type and they spawn at night or in dark places, I added this mod to the server, the problem is that when I write /mobskill it works on all the mobs from any mods, but not from my mod. That is, they have filled the spawn and arena, and I cannot register a mobskill, it does not apply to them. I think that the ban on spawn in the world will also not work for them. What can I do? how to solve this? This is a very big problem for the server
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The most likely solution is…
Fri, 09/22/2023 - 03:55

The most likely solution is you need to specify the mod name when you're writing the command. It defaults to vanilla minecraft mobs, but if your mob is from a mod, you need to specity /kill @e[type=yourmodnamehere:entityname], replacing 'yourmodname' with the ID of your mod, (the official name that appears on the file), and replacing 'entityname' with the official name of the entity. (NOT the display name- that is, whatever the mob element is called in your Mcreator interface.)