DebugShapeArrowCommand

public class DebugShapeArrowCommand extends AbstractPlayerCommand

Command for debugshapearro operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > DebugShapeArrowCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

pos

final Vector3d pos

Field pos.

modelComponent

final ModelComponent modelComponent

Field modelComponent.

model

final Model model

Field model.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

headRotation

final Vector3f headRotation

Field headRotation.

lookYaw

final float lookYaw

Field lookYaw.

lookPitch

final float lookPitch

Field lookPitch.

tmp

final Matrix4d tmp

Field tmp.

eyeHeight

final float eyeHeight

Field eyeHeight.

random

final ThreadLocalRandom random

Field random.

color

final Vector3f color

Field color.

matrix

final Matrix4d matrix

Field matrix.

Method Detail

DebugShapeArrowCommand

public public DebugShapeArrowCommand ()

Method DebugShapeArrowCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

Vector3f

public new Vector3f (random.nextFloat()

Method Vector3f.

Parameters:
random.nextFloat( random.nextFloat(