public class DebugShapeSphereCommand extends AbstractPlayerCommand
Command for debugshapespher operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > DebugShapeSphereCommand
Field Summary
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
random
final
ThreadLocalRandom
random
Field random.
color
final
Vector3f
color
Field color.
Method Detail
DebugShapeSphereCommand
public
public
DebugShapeSphereCommand
()
Method DebugShapeSphereCommand.
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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
Vector3f
public
new
Vector3f
(random.nextFloat()
Method Vector3f.
- Parameters:
random.nextFloat(random.nextFloat(