camera shake

Started by Muski360 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
camera shake

I'm making a giant axe that when it hits a mob, it explodes, I wanted to make the screen shake too, how do I do that?

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you are creating an addon…
Tue, 06/13/2023 - 22:18

if you are creating an addon an not an java edition mod,

 

execute command /camerashake add [number 0.01 - 4] [secounds] positional

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ohm, i know, but i'm not in…
Fri, 06/16/2023 - 22:22

ohm, i know, but i'm not in the bedrock edition

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am very late with this…
Sun, 08/06/2023 - 14:32

I am very late with this reply, but maybe you can do what I did:

Making a global variable and using it for "frames" while changing the current yaw and pitch of the player and adding it by a value.

https://imgur.com/a/6J6kKG0

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh and make a effect that…
Sun, 08/06/2023 - 14:33

Oh and make a effect that cannot be seen, put the procedure at the On effect active tick. Happy modding!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use prodedures by changing…
Sun, 08/06/2023 - 16:16

Use prodedures by changing the yaw and pitch of it.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am also working on a mod,…
Wed, 02/07/2024 - 19:45

I am also working on a mod, I need the player's screen to shake when they are attacked by a leviathan but I am new to variables. what kind of variable do I need to make and could you send pictures? like what is the Variable type, Variable scope and Initial value.

Thanks so much and sorry for being a bot.

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@KRONOZ006 You have to make…
Sun, 07/07/2024 - 08:01

@KRONOZ006 You have to make player lifetime variables

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@TDO thank you so much!  
Wed, 07/24/2024 - 05:10

@TDO thank you so much!