Entities Refuse to Spawn

Started by Botato the Potato on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entities Refuse to Spawn
Sat, 03/25/2023 - 21:48 (edited)

Several of my custom entities refuse to spawn, and I don't understand why.

Basically, what happens is, when I try to spawn the entity via Spawn Egg or /summon, it just instantly disappears.

I've tried everything I can think of, blockbench issues, despawning when idle, etc.

However for some reason, whenever I Run the server and try spawning it there, it works perfectly fine.
But as soon as I join a singleplayer world, it'll just disappear.

Another odd thing, when I add an entity base to the entity, it'll spawn, but of course, it wont behave as intended because of the entity base.

I'm obviously failing to find out how to do this myself, so any help would be greatly appreciated.

Edited by Botato the Potato on Sat, 03/25/2023 - 21:48
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you set the difficulty…
Tue, 04/23/2024 - 08:37

Have you set the difficulty to peaceful in your single player world? If so, and the custom entity is recognized as a hostile mob, minecraft instantly despawns the entity.

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that happens (to me)…
Wed, 06/26/2024 - 06:13

that happens (to me) whenever i duplicate an entity, i'd recommend deleting the model and importing it again, instead of duplicating the entity (if ur doing it) just make it from scratch.