Woodyo

Untitled

Apr 12th, 2023
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. LTR-TX-Mob:
  2. <<: *NPC_TEMPLATE
  3. Options:
  4. MovementSpeed: 0.3
  5. PreventOtherDrops: true
  6. PreventRandomEquipment: true
  7. Silent: true
  8. Despawn: false
  9. Collidable: false
  10. Invincible: true
  11. AlwaysShowName: false
  12. PreventJockeyMounts: true
  13. Skills:
  14. # Prevent mob getting onto the raft.
  15. - skill{s=[ - velocity{m=add;x=0;y=0;z=0.1} ];delay=1} @Self ~onTimer:1 ?onGround
  16.  
  17. # Move the mob laterally constantly.
  18. - skill{s=[ - velocity{m=add;x=-0.02;y=0;z=0}
  19.  
  20. - effect:particles{p=splash;a=5;hs=0.5;vs=0.1} @SelfLocation{yOffset=0.1}
  21. - effect:particles{p=cloud;a=1;hs=0.1;vs=0.1;speed=0.01} @SelfLocation{yOffset=0.1} ]} @Self ~onTimer:1
  22.  
  23. # Assign it a random mob on spawn.
  24. - randomskill{s=[ - setstance{s=COW}
  25. - disguise{d="COW"} ],
  26. [ - setstance{s=PIG}
  27. - disguise{d="PIG"} ],
  28. [ - setstance{s=SHEEP}
  29. - disguise{d="SHEEP"} ],
  30. [ - setstance{s=CHICKEN}
  31. - disguise{d="CHICKEN"} ],
  32. [ - setstance{s=RABBIT}
  33. - disguise{d="RABBIT"} ],
  34. [ - setstance{s=CAT}
  35. - disguise{d="CAT"} ],
  36. [ - setstance{s=HORSE}
  37. - disguise{d="HORSE"} ],
  38. [ - setstance{s=TURTLE}
  39. - disguise{d="TURTLE"} ],
  40. [ - setstance{s=AXOLOTL}
  41. - disguise{d="AXOLOTL"} ],
  42. [ - setstance{s=LLAMA}
  43. - disguise{d="LLAMA"} ],
  44. [ - setstance{s=PANDA}
  45. - disguise{d="PANDA"} ],
  46. [ - setstance{s=WOLF}
  47. - disguise{d="WOLF"} ],
  48. [ - setstance{s=ZOMBIE}
  49. - disguise{d="ZOMBIE"} ],
  50. [ - setstance{s=SKELETON}
  51. - disguise{d="SKELETON"} ],
  52. [ - setstance{s=DROWNED}
  53. - disguise{d="DROWNED"} ],
  54. [ - setstance{s=PILLAGER}
  55. - disguise{d="PILLAGER"} ],
  56. [ - setstance{s=STRAY}
  57. - disguise{d="STRAY"} ],
  58. [ - setstance{s=WITHER_SKELETON}
  59. - disguise{d="WITHER_SKELETON"} ],
  60. [ - setstance{s=WITCH}
  61. - disguise{d="WITCH"} ],
  62. [ - setstance{s=ZOMBIE_VILLAGER}
  63. - disguise{d="ZOMBIE_VILLAGER"} ]} @Self ~onSpawn
  64.  
  65. # Summon its assigned mob when fished.
  66. - skill{s=[ - summon{t=<caster.stance>}
  67.  
  68. - remove ];sync=true} @Self ~onSignal:FISHED
  69.  
  70. # Remove the mob after 2 minutes.
  71. - remove{delay=2400} @Self ~onSpawn
  72.  
  73. AIGoalSelectors:
  74. - 0 clear
  75. - 1 float
  76. Disguise: ARMOR_STAND setHelmet GOLD_INGOT setYModifier -1.75 setInvisible
Add Comment
Please, Sign In to add comment