public class NPCTestCommand extends AbstractCommandCollection
Command for npctes operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > NPCTestCommand
Field Summary
collisionResult
final
CollisionResult
collisionResult
Field collisionResult.
probeAir
final
PositionProbeAir
probeAir
Field probeAir.
probeWater
final
PositionProbeWater
probeWater
Field probeWater.
playerComponent
final
Player
playerComponent
Field playerComponent.
boundingBoxComponent
final
BoundingBox
boundingBoxComponent
Field boundingBoxComponent.
playerCollider
final
Box
playerCollider
Field playerCollider.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
modelComponent
final
ModelComponent
modelComponent
Field modelComponent.
position
final
Vector3d
position
Field position.
model
final
Model
model
Field model.
eyeHeight
final
float
eyeHeight
Field eyeHeight.
testAir
final
boolean
testAir
Field testAir.
testWater
final
boolean
testWater
Field testWater.
validatePosition
final
boolean
validatePosition
Field validatePosition.
npcPlugin
final
NPCPlugin
npcPlugin
Field npcPlugin.
Method Detail
NPCTestCommand
public
public
NPCTestCommand
()
Method NPCTestCommand.
ProbeTestCommand
public
new
ProbeTestCommand
()
Method ProbeTestCommand.
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