abstract class NPCMultiSelectCommandBase extends NPCWorldCommandBase
Class NPCMultiSelectCommandBase. Provides npcmultiselectcommandbase functionality for the Hytale server.
java.lang.Object > NPCWorldCommandBase > NPCMultiSelectCommandBase
Field Summary
ref
final
Ref
ref
Field ref.
npc
final
NPCEntity
npc
Field npc.
roleSet
final
Set
roleSet
Field roleSet.
roleString
final
String
roleString
Field roleString.
split
final
String[]
split
Field split.
roles
final
String[]
roles
Field roles.
range
final
float
range
Field range.
ref2
final
Ref
ref2
Field ref2.
playerTransform
final
TransformComponent
playerTransform
Field playerTransform.
viewTransform
final
Transform
viewTransform
Field viewTransform.
eyeDirection
final
Vector3d
eyeDirection
Field eyeDirection.
cosineConeAngle
final
float
cosineConeAngle
Field cosineConeAngle.
entityTransform
final
TransformComponent
entityTransform
Field entityTransform.
direction
final
Vector3d
direction
Field direction.
lengthDirection
final
double
lengthDirection
Field lengthDirection.
npc2
final
NPCEntity
npc2
Field npc2.
npcTransform
final
TransformComponent
npcTransform
Field npcTransform.
distanceSq
final
double
distanceSq
Field distanceSq.
Method Detail
NPCMultiSelectCommandBase
public
public
NPCMultiSelectCommandBase
(@Nonnull final String name, @Nonnull final String description)
Method NPCMultiSelectCommandBase.
- Parameters:
@Nonnull final Stringname@Nonnull final Stringdescription
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore
if
public
else
if
(this.presetCone30all.provided(context)
Method if.
- Parameters:
this.presetCone30all.provided(contextthis.presetCone30all.provided(context
processEntityList
protected
void
processEntityList
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store, @Nonnull final List> refs)
Method processEntityList.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore@Nonnull final List>refs