abstract class NPCWorldCommandBase extends AbstractWorldCommand
Class NPCWorldCommandBase. Provides npcworldcommandbase functionality for the Hytale server.
java.lang.Object > AbstractWorldCommand > NPCWorldCommandBase
Field Summary
npc
final
NPCEntity
npc
Field npc.
ref
final
Ref
ref
Field ref.
playerRef
final
Ref
playerRef
Field playerRef.
npcComponent
final
NPCEntity
npcComponent
Field npcComponent.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
uuid
final
UUID
uuid
Field uuid.
Method Detail
NPCWorldCommandBase
public
public
NPCWorldCommandBase
(@Nonnull final String name, @Nonnull final String description)
Method NPCWorldCommandBase.
- 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