867 B
867 B
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) (5 parça)
- main() (2 parça)
- startsWith()
- spawnGuards()
- removeGuards()
- startExplodeCountdown() (2 parça)
- explodeGuards() (2 parça)
- startLoop() (3 parça)