help me make an entity

Started by tapok228335228 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help me make an entity
had an idea to make an entity that will appear far away from the player and follow him, and after the player sees him, the entity will disappear after 2 seconds.

help make this entity please
Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Despawn part would be tick…
Wed, 02/12/2025 - 14:53

Despawn part would be tick related, like after so many ticks, the mob despawns. IF x ticks DO despawn

Spawn would be similar, yet without ticks. It would use cordinates(x = 10)

Following would be AI related, follow that particular mob

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show a screenshot of…
Wed, 02/12/2025 - 17:24

can you show a screenshot of how to do this, I don't really understand this program, a screenshot will help me understand more easily how all this is done

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry you had to wait so…
Wed, 02/19/2025 - 13:19

Sorry you had to wait so long, I've got an image for you.

Disappearing Code:

disappear codedisappear code

 

This makes it so when the player looks at it, it disappears!

If you need the spawning code, just ask me.