Started by
Muski360
on
Topic category: Help with Minecraft modding (Java Edition)
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?
Topic category: Help with Minecraft modding (Java Edition)
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?
if you are creating an addon an not an java edition mod,
execute command /camerashake add [number 0.01 - 4] [secounds] positional
ohm, i know, but i'm not in the bedrock edition
oh
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
Oh and make a effect that cannot be seen, put the procedure at the On effect active tick. Happy modding!
Use prodedures by changing the yaw and pitch of it.
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.
@KRONOZ006 You have to make player lifetime variables
@TDO thank you so much!