18 lines
867 B
Markdown
18 lines
867 B
Markdown
# npc.js
|
||
|
||
[← Master](../../wiki.md) · Ham kod: [npc.js](../../raw/npc.js)
|
||
|
||
HECTOR BODYGUARD SYSTEM (npc.js) "HectorBodyGuard" armor-stand muhafızlarını spawn eder ve hedef oyuncuyu (Hector_Tudors) takip ettirir. Armor stand'lerin AI'si yoktur (path bulamazlar), bu yüzden takip senin örneğindeki gibi addMotion ile
|
||
|
||
Mappet API: `set`, `get`, `getParticleType`, `createBlockState`, `explode`, `getBlock`, `hasTileEntity`, `getTileEntity`, `setBlock`, `createCompound`
|
||
|
||
## Parçalar
|
||
- [üst seviye (değişkenler/sabitler)](_ust-seviye.md) (5 parça)
|
||
- [main()](main.md) (2 parça)
|
||
- [startsWith()](startsWith.md)
|
||
- [spawnGuards()](spawnGuards.md)
|
||
- [removeGuards()](removeGuards.md)
|
||
- [startExplodeCountdown()](startExplodeCountdown.md) (2 parça)
|
||
- [explodeGuards()](explodeGuards.md) (2 parça)
|
||
- [startLoop()](startLoop.md) (3 parça)
|