Overview

Namespaces

  • aliuly
    • common
      • selectors
    • loader
  • xPaw

Classes

  • ArmorItems
  • BasicCli
  • BasicHelp
  • BasicPlugin
  • ChatSession
  • Cmd
  • CmdSelector
  • ExpandVars
  • FastTransfer
  • FileUtils
  • FreezeSession
  • GetMotd
  • GetMotdAsyncTask
  • InvisibleSession
  • InvUtils
  • ItemName
  • mc
  • mc2
  • MoneyAPI
  • MPMU
  • Npc
  • PermUtils
  • PluginAsyncTask
  • PluginCallbackTask
  • PMScript
  • QueryAsyncTask
  • Rcon
  • RconTask
  • Session
  • ShieldSession
  • ShoppingCart
  • SignUtils
  • SkinUtils
  • SpySession
  • SubCommandMap
  • TPUtils
  • Overview
  • Namespace
  • Class

Class Npc

This class implements an NPC player

pocketmine\entity\Human
Extended by aliuly\common\Npc
Namespace: aliuly\common
Located at aliuly/common/Npc.php
Methods summary
public static
# spawnNpc( str $name, pocketmine\level\Location $pos, str $classname, $opts = null )

Spawns an NPC in game

Spawns an NPC in game

Parameters

$name
  • diplay name for this mob
$pos
  • where to place this Mob
$classname
  • class to create
$opts
API documentation generated by ApiGen