how i create a jumpscare when entity collides with player?

Started by SrPollo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how i create a jumpscare when entity collides with player?

im creating a horror minecraft mod and i need help because i dont know how to make a jumpscare when player collides with entity

 

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in the part of return logic…
Sun, 10/05/2025 - 20:44

in the part of return logic the tag i put the same that the others?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, and I put the wrong…
Sun, 10/05/2025 - 20:46

yeah, and I put the wrong entity it should be this

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked but now how i make…
Sun, 10/05/2025 - 20:47

it worked but now how i make that after 20 secs appear and after 20 secs dissapear?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what? if you're setting the…
Sun, 10/05/2025 - 20:50

what? if you're setting the nbt tag to 400 it should last 20 seconds already 

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no it only dissapear when…
Sun, 10/05/2025 - 20:57

no it only dissapear when player die

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show me the…
Sun, 10/05/2025 - 20:59

can you show me the procedures? 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the ones you made
Sun, 10/05/2025 - 20:59

the ones you made

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
don't you have one more?
Sun, 10/05/2025 - 21:02

don't you have one more?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you didn't do this one?
Sun, 10/05/2025 - 21:06

you didn't do this one?

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no, i will try it
Sun, 10/05/2025 - 21:07

no, i will try it

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked thanks you but how…
Sun, 10/05/2025 - 21:14

it worked thanks you but how can i make that jumpscare appear lower seconds?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just change this number, it…
Sun, 10/05/2025 - 21:16

just change this number,

it's in ticks so do seconds * 20