Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LTR-TX-Mob:
- <<: *NPC_TEMPLATE
- Options:
- MovementSpeed: 0.3
- PreventOtherDrops: true
- PreventRandomEquipment: true
- Silent: true
- Despawn: false
- Collidable: false
- Invincible: true
- AlwaysShowName: false
- PreventJockeyMounts: true
- Skills:
- # Prevent mob getting onto the raft.
- - skill{s=[ - velocity{m=add;x=0;y=0;z=0.1} ];delay=1} @Self ~onTimer:1 ?onGround
- # Move the mob laterally constantly.
- - skill{s=[ - velocity{m=add;x=-0.02;y=0;z=0}
- - effect:particles{p=splash;a=5;hs=0.5;vs=0.1} @SelfLocation{yOffset=0.1}
- - effect:particles{p=cloud;a=1;hs=0.1;vs=0.1;speed=0.01} @SelfLocation{yOffset=0.1} ]} @Self ~onTimer:1
- # Assign it a random mob on spawn.
- - randomskill{s=[ - setstance{s=COW}
- - disguise{d="COW"} ],
- [ - setstance{s=PIG}
- - disguise{d="PIG"} ],
- [ - setstance{s=SHEEP}
- - disguise{d="SHEEP"} ],
- [ - setstance{s=CHICKEN}
- - disguise{d="CHICKEN"} ],
- [ - setstance{s=RABBIT}
- - disguise{d="RABBIT"} ],
- [ - setstance{s=CAT}
- - disguise{d="CAT"} ],
- [ - setstance{s=HORSE}
- - disguise{d="HORSE"} ],
- [ - setstance{s=TURTLE}
- - disguise{d="TURTLE"} ],
- [ - setstance{s=AXOLOTL}
- - disguise{d="AXOLOTL"} ],
- [ - setstance{s=LLAMA}
- - disguise{d="LLAMA"} ],
- [ - setstance{s=PANDA}
- - disguise{d="PANDA"} ],
- [ - setstance{s=WOLF}
- - disguise{d="WOLF"} ],
- [ - setstance{s=ZOMBIE}
- - disguise{d="ZOMBIE"} ],
- [ - setstance{s=SKELETON}
- - disguise{d="SKELETON"} ],
- [ - setstance{s=DROWNED}
- - disguise{d="DROWNED"} ],
- [ - setstance{s=PILLAGER}
- - disguise{d="PILLAGER"} ],
- [ - setstance{s=STRAY}
- - disguise{d="STRAY"} ],
- [ - setstance{s=WITHER_SKELETON}
- - disguise{d="WITHER_SKELETON"} ],
- [ - setstance{s=WITCH}
- - disguise{d="WITCH"} ],
- [ - setstance{s=ZOMBIE_VILLAGER}
- - disguise{d="ZOMBIE_VILLAGER"} ]} @Self ~onSpawn
- # Summon its assigned mob when fished.
- - skill{s=[ - summon{t=<caster.stance>}
- - remove ];sync=true} @Self ~onSignal:FISHED
- # Remove the mob after 2 minutes.
- - remove{delay=2400} @Self ~onSpawn
- AIGoalSelectors:
- - 0 clear
- - 1 float
- Disguise: ARMOR_STAND setHelmet GOLD_INGOT setYModifier -1.75 setInvisible
Add Comment
Please, Sign In to add comment