public class NPCAllCommand extends AbstractPlayerCommand
Command for npcal operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > NPCAllCommand
Field Summary
distance
final
double
distance
Field distance.
npcModule
final
NPCPlugin
npcModule
Field npcModule.
roles
final
List
roles
Field roles.
columns
final
int
columns
Field columns.
squareSideLength
final
double
squareSideLength
Field squareSideLength.
squareSideLengthHalf
final
double
squareSideLengthHalf
Field squareSideLengthHalf.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
px
final
double
px
Field px.
pz
final
double
pz
Field pz.
pos
final
Vector3d
pos
Field pos.
name
final
String
name
Field name.
x
final
double
x
Field x.
z
final
double
z
Field z.
y
final
double
y
Field y.
roleIndex
final
int
roleIndex
Field roleIndex.
npcRef
final
Ref
npcRef
Field npcRef.
Method Detail
NPCAllCommand
public
public
NPCAllCommand
()
Method NPCAllCommand.
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
Nameplate
public
new
Nameplate
(name)
Method Nameplate.
- Parameters:
namename