SensorSearchRay

public class SensorSearchRay extends SensorBase

Class SensorSearchRay. Provides sensorsearchray functionality for the Hytale server.

java.lang.Object > SensorBase > SensorSearchRay

Field Summary

lastCheckedYaw

protected float lastCheckedYaw

Field lastCheckedYaw.

lastBlockRevision

protected short lastBlockRevision

Field lastBlockRevision.

throttleTimeRemaining

protected double throttleTimeRemaining

Field throttleTimeRemaining.

minRetestMove

final double minRetestMove

Field minRetestMove.

world

final World world

Field world.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

position

final Vector3d position

Field position.

headRotation

final Vector3f headRotation

Field headRotation.

cachedPosition

final Vector3d cachedPosition

Field cachedPosition.

chunk

final WorldChunk chunk

Field chunk.

section

final BlockSection section

Field section.

blockRaySearch

final RayBlockHitTest blockRaySearch

Field blockRaySearch.

result

final boolean result

Field result.

targetPosition

final Vector3d targetPosition

Field targetPosition.

Method Detail

SensorSearchRay

public public SensorSearchRay (@Nonnull final BuilderSensorSearchRay builder, @Nonnull final BuilderSupport support)

Method SensorSearchRay.

Parameters:
@Nonnull final BuilderSensorSearchRay builder
@Nonnull final BuilderSupport support

matches

public boolean matches (@Nonnull final Ref ref, @Nonnull final Role role, final double dt, @Nonnull final Store store)

Method matches.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final double dt
@Nonnull final Store store

getSensorInfo

public InfoProvider getSensorInfo ()

Method getSensorInfo.