How to make a jumpscare in mcreator

Started by LegacyK181 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a jumpscare in mcreator
Wed, 12/06/2023 - 22:55 (edited)

I'm trying to work on a mod that has horror elements where you play as characters in the mod to scare unsuspecting players.

I have a rough draft of how this would work.

You press a key bind to run a procedure that detects if a player is near, then it places a tag on the player it detected with a limit of one. Then it teleports you to that player, facing you towards the player's head and facing the player towards your head. It then applies slowness and blindness to the target, plays a cave noise and then it's over. If anybody could help with examples of how this may work, that'd be greatly appreciated. I've been stumped for a while now.

At the moment, I'm detecting if the player is sneaking just to make it easier to test along with the single nbt tag for the boot slot. Along with that, I'm using iron armor as a placeholder for the finished product.Jumpscare coding rough draft

 

 

Edited by LegacyK181 on Wed, 12/06/2023 - 22:55
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oohh. What if the keybind…
Tue, 12/12/2023 - 08:32

Oohh. What if the keybind gives you a potion effect that does it?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would that work though?…
Fri, 12/15/2023 - 08:10

How would that work though?.. A potion that jumpscares someone?

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try "overlay". I made it on…
Fri, 12/15/2023 - 17:13

Try "overlay". I made it on 1.20.1, but I think it's still possible.

step 1: draw a texture, save it like "screen"

1

step 2: make a checking procedure(there should always be a "not" before checking block! "Repeats" is also important)

step 3: next, create an "overlay", insert the texture and procedure that we did earlier

Well done!

I used a custom potion for the trigger, but you can use, for example, "if it holds an object", "if it has such and such a value", etc.*

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ooo I do like that idea. But…
Fri, 12/15/2023 - 18:59

Ooo I do like that idea. But I'm trying to simulate an effect I saw a while back in a youtube video, I don't know if I'm allowed to post youtube links on here but it was by commandgeek, he achieved the affect through a datapack with commands. He achieved it on the exact version of minecraft I'm working on, except I'm doing it with mcreator and code blocks on a different kind of project

https://youtu.be/2LRvq6H11bs?t=314

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately, I'm not that…
Sat, 12/16/2023 - 11:58

Unfortunately, I'm not that good at it, sorry, I hope you find the answer.

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm working on a procedure…
Mon, 12/18/2023 - 11:05

I'm working on a procedure for how I think this could work, I'll show you once it is done.

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sounds good, I've still been…
Tue, 12/19/2023 - 08:10

Sounds good, I've still been stumped trying to figure it out

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any update on the procedure…
Sat, 12/23/2023 - 08:58

Any update on the procedure you think could work? I've still got nothing at the moment