Trajectory Info Renderer
class TrajectoryInfoRenderer(val owner: Entity, val icon: ItemStack, velocity: Vec3, pos: Vec3, val trajectoryInfo: TrajectoryInfo, val trajectoryType: TrajectoryType, val type: TrajectoryInfoRenderer.Type, renderOffset: Vec3)
Constructors
Link copied to clipboard
constructor(owner: Entity, icon: ItemStack, velocity: Vec3, pos: Vec3, trajectoryInfo: TrajectoryInfo, trajectoryType: TrajectoryType, type: TrajectoryInfoRenderer.Type, renderOffset: Vec3)
Types
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
context(env: WorldRenderEnvironment)
fun drawTrajectoryForProjectile(maxTicks: Int, partialTicks: Float, trajectoryColor: Color4b, blockHitColor: Color4b?, entityHitColor: Color4b?): TrajectoryInfoRenderer.SimulationResult
fun drawTrajectoryForProjectile(maxTicks: Int, partialTicks: Float, trajectoryColor: Color4b, blockHitColor: Color4b?, entityHitColor: Color4b?): TrajectoryInfoRenderer.SimulationResult
Link copied to clipboard