Package foundry.veil.api.screenshake
Class ScreenShakeManager
java.lang.Object
foundry.veil.api.screenshake.ScreenShakeManager
- Since:
- 4.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddScreenShake(ScreenShakeType instance) Add a screen shake to the camera.org.joml.Vector3fgetPosition(float partialTick) voidremoveScreenShake(ScreenShakeType instance) Remove a screen shake from the camera.voidtick()
-
Constructor Details
-
ScreenShakeManager
public ScreenShakeManager()
-
-
Method Details
-
addScreenShake
Add a screen shake to the camera. -
removeScreenShake
Remove a screen shake from the camera. -
tick
@Internal public void tick() -
getPosition
@Contract("_->new") public org.joml.Vector3f getPosition(float partialTick)
-