Trajectory Info Renderer
class TrajectoryInfoRenderer(val simulationOwner: Entity, val displayOwner: 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(simulationOwner: Entity, displayOwner: 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?, lineWidth: Float = 1.0f): TrajectoryInfoRenderer.SimulationResult
fun drawTrajectoryForProjectile(maxTicks: Int, partialTicks: Float, trajectoryColor: Color4b, blockHitColor: Color4b?, entityHitColor: Color4b?, lineWidth: Float = 1.0f): TrajectoryInfoRenderer.SimulationResult
Link copied to clipboard