Woodyo

Untitled

Mar 9th, 2023
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.72 KB | None | 0 0
  1.  
  2. #################
  3. ### TEMPLATES ###
  4. #################
  5.  
  6. TXP-Template-NPC: &NPC_TEMPLATE
  7. Type: HUSK
  8. Faction: ALLY
  9. Options:
  10. MovementSpeed: 0.3
  11. PreventOtherDrops: true
  12. PreventRandomEquipment: true
  13. Silent: true
  14. Despawn: false
  15. Collidable: false
  16. Invincible: true
  17. AlwaysShowName: true
  18. PreventJockeyMounts: true
  19. AIGoalSelectors:
  20. - 0 clear
  21. AITargetSelectors:
  22. - 0 clear
  23.  
  24. TXP-Template-FOE: &FOE_TEMPLATE
  25. Type: HUSK
  26. Faction: FOE
  27. Options:
  28. PreventOtherDrops: true
  29. PreventRandomEquipment: true
  30. Silent: true
  31. Despawn: false
  32. AlwaysShowName: true
  33. PreventJockeyMounts: true
  34. AIGoalSelectors:
  35. - 0 clear
  36. - 1 meleeattack
  37. AITargetSelectors:
  38. - 0 clear
  39. - 1 players
  40.  
  41. ##################################################
  42. ### T1 ###
  43. ##################################################
  44.  
  45. ##################################################
  46. ### T2 ###
  47. ##################################################
  48.  
  49. TXP-T2-NPC_1:
  50. <<: *NPC_TEMPLATE
  51. Display: "&a&lXXX"
  52. Skills:
  53. - setstance{s=SPAWN} @Self ~onSpawn
  54.  
  55. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  56.  
  57. AIGoalSelectors:
  58. - 0 clear
  59. - 1 lookaround
  60. - 2 randomstroll
  61. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  62.  
  63. TXP-T2-NPC_2:
  64. <<: *NPC_TEMPLATE
  65. Display: "&a&lXXX"
  66. Skills:
  67. - setstance{s=SPAWN} @Self ~onSpawn
  68.  
  69. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  70.  
  71. AIGoalSelectors:
  72. - 0 clear
  73. - 1 lookaround
  74. - 2 randomstroll
  75. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  76.  
  77. TXP-T2-NPC_3:
  78. <<: *NPC_TEMPLATE
  79. Display: "&a&lXXX"
  80. Skills:
  81. - setstance{s=SPAWN} @Self ~onSpawn
  82.  
  83. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  84.  
  85. AIGoalSelectors:
  86. - 0 clear
  87. - 1 lookaround
  88. - 2 randomstroll
  89. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  90.  
  91. TXP-T2-NPC_4:
  92. <<: *NPC_TEMPLATE
  93. Display: "&a&lXXX"
  94. Skills:
  95. - setstance{s=SPAWN} @Self ~onSpawn
  96.  
  97. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  98.  
  99. AIGoalSelectors:
  100. - 0 clear
  101. - 1 lookaround
  102. - 2 randomstroll
  103. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  104.  
  105. TXP-T2-ALLY_5:
  106. <<: *NPC_TEMPLATE
  107. Type: WOLF
  108. Display: "&a&lXXX"
  109. Skills:
  110. - setstance{s=SPAWN} @Self ~onSpawn
  111.  
  112. - setowner @NearestPlayer{r=99} ~onSpawn
  113.  
  114. - teleport @Owner ~onTimer:2 ?playernotwithin{d=24} ?!incombat{}
  115.  
  116. AIGoalSelectors:
  117. - 0 clear
  118. - 1 float
  119. - 2 meleeattack
  120. - 3 gotoowner 5
  121. AITargetSelectors:
  122. - 0 clear
  123. - 1 ownerattacker
  124. - 2 ownertarget
  125. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  126.  
  127. ##################################################
  128. ### T3 ###
  129. ##################################################
  130.  
  131. TXP-T3-NPC_1:
  132. <<: *NPC_TEMPLATE
  133. Display: "&a&lXXX"
  134. Skills:
  135. - setstance{s=SPAWN} @Self ~onSpawn
  136.  
  137. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  138.  
  139. AIGoalSelectors:
  140. - 0 clear
  141. - 1 lookaround
  142. - 2 randomstroll
  143. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  144.  
  145. TXP-T3-BOSS_2:
  146. <<: *FOE_TEMPLATE
  147. Display: "&4&lXXX"
  148. Health: 50
  149. BossBar:
  150. Enabled: true
  151. Title: '&4&lXXX'
  152. Range: 128
  153. Color: GREEN
  154. Style: SOLID
  155. CreateFog: false
  156. DarkenSky: false
  157. Skills:
  158. - model{mid=boss} @Self ~onSpawn
  159.  
  160. - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
  161. - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
  162.  
  163. - skill{s=[ - pandeloot{mm:TXP-T3-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
  164. - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
  165.  
  166. ##################################################
  167. ### T4 ###
  168. ##################################################
  169.  
  170. TXP-T4-NPC_1:
  171. <<: *NPC_TEMPLATE
  172. Display: "&a&lXXX"
  173. Skills:
  174. - setstance{s=SPAWN} @Self ~onSpawn
  175.  
  176. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  177.  
  178. AIGoalSelectors:
  179. - 0 clear
  180. - 1 lookaround
  181. - 2 randomstroll
  182. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  183.  
  184. TXP-T4-NPC_2:
  185. <<: *NPC_TEMPLATE
  186. Display: "&a&lXXX"
  187. Skills:
  188. - setstance{s=SPAWN} @Self ~onSpawn
  189.  
  190. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  191.  
  192. AIGoalSelectors:
  193. - 0 clear
  194. - 1 lookaround
  195. - 2 randomstroll
  196. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  197.  
  198. TXP-T4-BOSS_3:
  199. <<: *FOE_TEMPLATE
  200. Display: "&4&lXXX"
  201. Health: 50
  202. BossBar:
  203. Enabled: true
  204. Title: '&4&lXXX'
  205. Range: 128
  206. Color: GREEN
  207. Style: SOLID
  208. CreateFog: false
  209. DarkenSky: false
  210. Skills:
  211. - model{mid=boss} @Self ~onSpawn
  212.  
  213. - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
  214. - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
  215.  
  216. - skill{s=[ - pandeloot{mm:TXP-T4-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
  217. - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
  218.  
  219. TXP-T4-NPC_4:
  220. <<: *NPC_TEMPLATE
  221. Display: "&a&lXXX"
  222. Skills:
  223. - setstance{s=SPAWN} @Self ~onSpawn
  224.  
  225. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  226.  
  227. AIGoalSelectors:
  228. - 0 clear
  229. - 1 lookaround
  230. - 2 randomstroll
  231. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  232.  
  233. ##################################################
  234. ### T5 ###
  235. ##################################################
  236.  
  237. TXP-T5-BOSS_1:
  238. <<: *FOE_TEMPLATE
  239. Display: "&4&lXXX"
  240. Health: 50
  241. BossBar:
  242. Enabled: true
  243. Title: '&4&lXXX'
  244. Range: 128
  245. Color: GREEN
  246. Style: SOLID
  247. CreateFog: false
  248. DarkenSky: false
  249. Skills:
  250. - model{mid=boss} @Self ~onSpawn
  251.  
  252. - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
  253. - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
  254.  
  255. - skill{s=[ - pandeloot{mm:TXP-T5-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
  256. - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
  257.  
  258. ##################################################
  259. ### T6 ###
  260. ##################################################
  261.  
  262. TXP-T6-SPEAKER_1:
  263. <<: *NPC_TEMPLATE
  264. Display: "&a&lXXX"
  265. Skills:
  266. - setstance{s=SPAWN} @Self ~onSpawn
  267.  
  268. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=11} ~onTimer:1
  269.  
  270. - effect:particles{particle=wax_off;amount=1;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1} ~onTimer:1 ?stance{s=SPAWN;str=true}
  271.  
  272. - skill{s=[ - setstance{s=NULL}
  273.  
  274. - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
  275. - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
  276.  
  277. - delay 35
  278.  
  279. - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
  280. - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
  281.  
  282. - delay 100
  283.  
  284. - setstance{s=NULL} ]} @Self ~onInteract ?stance{s=SPAWN;str=true}
  285.  
  286. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  287.  
  288. TXP-T6-FOE_2:
  289. <<: *FOE_TEMPLATE
  290. Display: "&4&lXXX"
  291. Skills:
  292.  
  293. Disguise: HUSK
  294.  
  295. TXP-T6-NPC_3:
  296. <<: *NPC_TEMPLATE
  297. Display: "&a&lXXX"
  298. Skills:
  299. - setstance{s=SPAWN} @Self ~onSpawn
  300.  
  301. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  302.  
  303. AIGoalSelectors:
  304. - 0 clear
  305. - 1 lookaround
  306. - 2 randomstroll
  307. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  308.  
  309. ##################################################
  310. ### T7 ###
  311. ##################################################
  312.  
  313. ##################################################
  314. ### T8 ###
  315. ##################################################
  316.  
  317. TXP-T8-COLLECTOR_1:
  318. <<: *NPC_TEMPLATE
  319. Display: "&a&lXXX"
  320. Skills:
  321. - setstance{s=SPAWN} @Self ~onSpawn
  322.  
  323. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=11} ~onTimer:1
  324.  
  325. - effect:particles{particle=wax_off;amount=1;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1} ~onTimer:1 ?stance{s=SPAWN;str=true}
  326.  
  327. ### ----------------------------------------------------------------- ###
  328.  
  329. - setvariable{var=caster.ingredient_1;type=INTEGER;value=0} @Self ~onSpawn
  330. - setvariable{var=caster.ingredient_2;type=INTEGER;value=0} @Self ~onSpawn
  331.  
  332. - skill{s=[ - sudoskill{s=[ - consumehelditem @Self ]} @Trigger
  333. - sound{s=block.note_block.chime;v=1.00;p=1.25;sc=MASTER} @Server
  334.  
  335. - modbar{id=TXP-INGREDIENT_BAR;a=1} ];sync=true;cd=0.1} @Self ~onInteract ?stance{s=INGREDIENT_WAIT} ?variableInRange{var=caster.ingredient_1;value=<5} ?~holding{m=INGREDIENT_1}
  336.  
  337. - skill{s=[ - sudoskill{s=[ - consumehelditem @Self ]} @Trigger
  338. - sound{s=block.note_block.chime;v=1.00;p=1.25;sc=MASTER} @Server
  339.  
  340. - modbar{id=TXP-INGREDIENT_BAR;a=1} ];sync=true;cd=0.1} @Self ~onInteract ?stance{s=INGREDIENT_WAIT} ?variableInRange{var=caster.ingredient_2;value=<5} ?~holding{m=INGREDIENT_2}
  341.  
  342. ### ----------------------------------------------------------------- ###
  343.  
  344. - skill{s=[ - setstance{s=NULL}
  345.  
  346. - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
  347. - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
  348.  
  349. - delay 35
  350.  
  351. - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
  352. - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
  353.  
  354. - betterbar{id=TXP-INGREDIENT_BAR;goal=10;style=SOLID;color=GREEN;title="&6&lIngredients Provided";onFill=[ - signal{s=INGREDIENTS_GIVEN} @Self ]}
  355.  
  356. - setstance{s=INGREDIENT_WAIT} ]} @Self ~onInteract ?stance{s=SPAWN;str=true}
  357.  
  358. - skill{s=[ - setstance{s=NULL}
  359.  
  360. - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
  361. - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
  362.  
  363. - delay 35
  364.  
  365. - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
  366. - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
  367.  
  368. - delay 50
  369.  
  370. - setstance{s=INGREDIENT_WAIT} ]} @Self ~onSignal:INGREDIENTS_GIVEN
  371.  
  372. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  373.  
  374. TXP-T8-NPC_2:
  375. <<: *NPC_TEMPLATE
  376. Display: "&a&lXXX"
  377. Skills:
  378. - setstance{s=SPAWN} @Self ~onSpawn
  379.  
  380. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  381.  
  382. AIGoalSelectors:
  383. - 0 clear
  384. - 1 lookaround
  385. - 2 randomstroll
  386. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  387.  
  388. ##################################################
  389. ### T9 ###
  390. ##################################################
  391.  
  392. TXP-T9-NPC_1:
  393. <<: *NPC_TEMPLATE
  394. Display: "&a&lXXX"
  395. Skills:
  396. - setstance{s=SPAWN} @Self ~onSpawn
  397.  
  398. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  399.  
  400. AIGoalSelectors:
  401. - 0 clear
  402. - 1 lookaround
  403. - 2 randomstroll
  404. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  405.  
  406. TXP-T9-NPC_2:
  407. <<: *NPC_TEMPLATE
  408. Display: "&a&lXXX"
  409. Skills:
  410. - setstance{s=SPAWN} @Self ~onSpawn
  411.  
  412. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  413.  
  414. AIGoalSelectors:
  415. - 0 clear
  416. - 1 lookaround
  417. - 2 randomstroll
  418. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  419.  
  420. TXP-T9-FOE_3:
  421. <<: *FOE_TEMPLATE
  422. Display: "&4&lXXX"
  423. Skills:
  424.  
  425. Disguise: HUSK
  426.  
  427. TXP-T9-NPC_4:
  428. <<: *NPC_TEMPLATE
  429. Display: "&a&lXXX"
  430. Skills:
  431. - setstance{s=SPAWN} @Self ~onSpawn
  432.  
  433. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  434.  
  435. AIGoalSelectors:
  436. - 0 clear
  437. - 1 lookaround
  438. - 2 randomstroll
  439. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  440.  
  441. ##################################################
  442. ### T10 ###
  443. ##################################################
  444.  
  445. ##################################################
  446. ### T11 ###
  447. ##################################################
  448.  
  449. TXP-T11-NPC_1:
  450. <<: *NPC_TEMPLATE
  451. Display: "&a&lXXX"
  452. Skills:
  453. - setstance{s=SPAWN} @Self ~onSpawn
  454.  
  455. - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
  456.  
  457. AIGoalSelectors:
  458. - 0 clear
  459. - 1 lookaround
  460. - 2 randomstroll
  461. Disguise: VILLAGER setBiome PLAINS setProfession NONE
  462.  
  463. TXP-T11-FOE_2:
  464. <<: *FOE_TEMPLATE
  465. Display: "&4&lXXX"
  466. Skills:
  467.  
  468. Disguise: HUSK
  469.  
  470. TXP-T11-FOE_3:
  471. <<: *FOE_TEMPLATE
  472. Display: "&4&lXXX"
  473. Skills:
  474.  
  475. Disguise: HUSK
  476.  
  477. TXP-T11-BOSS_4:
  478. <<: *FOE_TEMPLATE
  479. Display: "&4&lXXX"
  480. Health: 50
  481. BossBar:
  482. Enabled: true
  483. Title: '&4&lXXX'
  484. Range: 128
  485. Color: GREEN
  486. Style: SOLID
  487. CreateFog: false
  488. DarkenSky: false
  489. Skills:
  490. - model{mid=boss} @Self ~onSpawn
  491.  
  492. - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
  493. - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
  494.  
  495. - skill{s=[ - pandeloot{mm:TXP-T11-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
  496. - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
Add Comment
Please, Sign In to add comment