CounterStrikeGrenades
Toggle table of contents
1.20.1-1.5.0-prerelease
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
CounterStrikeGrenades
CounterStrikeGrenades
/
club.pisquad.minecraft.csgrenades.core.entity.trajectory
/
PhysicsHelper
Physics
Helper
object
PhysicsHelper
Members
Functions
apply
Velocity
Physics
Link copied to clipboard
fun
applyVelocityPhysics
(
velocity
:
Vec3
,
partialTick
:
Double
)
:
Vec3
Apply air drag and gravity to velocity
get
Blocks
In
Path
Link copied to clipboard
fun
getBlocksInPath
(
displacement
:
Segment
)
:
List
<
BlockPos
>
get
Velocity
After
Bounce
Link copied to clipboard
fun
getVelocityAfterBounce
(
position
:
Vec3
,
point
:
Vec3
,
velocity
:
Vec3
,
direction
:
Direction
)
:
Vec3