Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################
- ### TEMPLATES ###
- #################
- TXP-Template-NPC: &NPC_TEMPLATE
- Type: HUSK
- Faction: ALLY
- Options:
- MovementSpeed: 0.3
- PreventOtherDrops: true
- PreventRandomEquipment: true
- Silent: true
- Despawn: false
- Collidable: false
- Invincible: true
- AlwaysShowName: true
- PreventJockeyMounts: true
- AIGoalSelectors:
- - 0 clear
- AITargetSelectors:
- - 0 clear
- TXP-Template-FOE: &FOE_TEMPLATE
- Type: HUSK
- Faction: FOE
- Options:
- PreventOtherDrops: true
- PreventRandomEquipment: true
- Silent: true
- Despawn: false
- AlwaysShowName: true
- PreventJockeyMounts: true
- AIGoalSelectors:
- - 0 clear
- - 1 meleeattack
- AITargetSelectors:
- - 0 clear
- - 1 players
- ##################################################
- ### T1 ###
- ##################################################
- ##################################################
- ### T2 ###
- ##################################################
- TXP-T2-NPC_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T2-NPC_2:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T2-NPC_3:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T2-NPC_4:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T2-ALLY_5:
- <<: *NPC_TEMPLATE
- Type: WOLF
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - setowner @NearestPlayer{r=99} ~onSpawn
- - teleport @Owner ~onTimer:2 ?playernotwithin{d=24} ?!incombat{}
- AIGoalSelectors:
- - 0 clear
- - 1 float
- - 2 meleeattack
- - 3 gotoowner 5
- AITargetSelectors:
- - 0 clear
- - 1 ownerattacker
- - 2 ownertarget
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- ##################################################
- ### T3 ###
- ##################################################
- TXP-T3-NPC_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T3-BOSS_2:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Health: 50
- BossBar:
- Enabled: true
- Title: '&4&lXXX'
- Range: 128
- Color: GREEN
- Style: SOLID
- CreateFog: false
- DarkenSky: false
- Skills:
- - model{mid=boss} @Self ~onSpawn
- - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
- - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
- - skill{s=[ - pandeloot{mm:TXP-T3-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
- - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
- ##################################################
- ### T4 ###
- ##################################################
- TXP-T4-NPC_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T4-NPC_2:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T4-BOSS_3:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Health: 50
- BossBar:
- Enabled: true
- Title: '&4&lXXX'
- Range: 128
- Color: GREEN
- Style: SOLID
- CreateFog: false
- DarkenSky: false
- Skills:
- - model{mid=boss} @Self ~onSpawn
- - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
- - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
- - skill{s=[ - pandeloot{mm:TXP-T4-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
- - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
- TXP-T4-NPC_4:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- ##################################################
- ### T5 ###
- ##################################################
- TXP-T5-BOSS_1:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Health: 50
- BossBar:
- Enabled: true
- Title: '&4&lXXX'
- Range: 128
- Color: GREEN
- Style: SOLID
- CreateFog: false
- DarkenSky: false
- Skills:
- - model{mid=boss} @Self ~onSpawn
- - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
- - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
- - skill{s=[ - pandeloot{mm:TXP-T5-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
- - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
- ##################################################
- ### T6 ###
- ##################################################
- TXP-T6-SPEAKER_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=11} ~onTimer:1
- - 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}
- - skill{s=[ - setstance{s=NULL}
- - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
- - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
- - delay 35
- - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
- - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
- - delay 100
- - setstance{s=NULL} ]} @Self ~onInteract ?stance{s=SPAWN;str=true}
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T6-FOE_2:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Skills:
- Disguise: HUSK
- TXP-T6-NPC_3:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- ##################################################
- ### T7 ###
- ##################################################
- ##################################################
- ### T8 ###
- ##################################################
- TXP-T8-COLLECTOR_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=11} ~onTimer:1
- - 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}
- ### ----------------------------------------------------------------- ###
- - setvariable{var=caster.ingredient_1;type=INTEGER;value=0} @Self ~onSpawn
- - setvariable{var=caster.ingredient_2;type=INTEGER;value=0} @Self ~onSpawn
- - skill{s=[ - sudoskill{s=[ - consumehelditem @Self ]} @Trigger
- - sound{s=block.note_block.chime;v=1.00;p=1.25;sc=MASTER} @Server
- - 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}
- - skill{s=[ - sudoskill{s=[ - consumehelditem @Self ]} @Trigger
- - sound{s=block.note_block.chime;v=1.00;p=1.25;sc=MASTER} @Server
- - 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}
- ### ----------------------------------------------------------------- ###
- - skill{s=[ - setstance{s=NULL}
- - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
- - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
- - delay 35
- - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
- - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
- - betterbar{id=TXP-INGREDIENT_BAR;goal=10;style=SOLID;color=GREEN;title="&6&lIngredients Provided";onFill=[ - signal{s=INGREDIENTS_GIVEN} @Self ]}
- - setstance{s=INGREDIENT_WAIT} ]} @Self ~onInteract ?stance{s=SPAWN;str=true}
- - skill{s=[ - setstance{s=NULL}
- - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
- - sound{s=entity.villager.celebrate;v=2.00;p=1.00;sc=MASTER}
- - delay 35
- - sendtitle{title="&a&lXXX";subtitle="&e&lXXX";d=100;fi=10;fo=10} @Server
- - sound{s=entity.player.levelup;v=1.00;p=1.00;sc=MASTER} @Server
- - delay 50
- - setstance{s=INGREDIENT_WAIT} ]} @Self ~onSignal:INGREDIENTS_GIVEN
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T8-NPC_2:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- ##################################################
- ### T9 ###
- ##################################################
- TXP-T9-NPC_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T9-NPC_2:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T9-FOE_3:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Skills:
- Disguise: HUSK
- TXP-T9-NPC_4:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- ##################################################
- ### T10 ###
- ##################################################
- ##################################################
- ### T11 ###
- ##################################################
- TXP-T11-NPC_1:
- <<: *NPC_TEMPLATE
- Display: "&a&lXXX"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - look{headOnly=false;immediately=true;repeat=2;repeatInterval=1} @NearestPlayer{r=3} ~onTimer:1
- AIGoalSelectors:
- - 0 clear
- - 1 lookaround
- - 2 randomstroll
- Disguise: VILLAGER setBiome PLAINS setProfession NONE
- TXP-T11-FOE_2:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Skills:
- Disguise: HUSK
- TXP-T11-FOE_3:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Skills:
- Disguise: HUSK
- TXP-T11-BOSS_4:
- <<: *FOE_TEMPLATE
- Display: "&4&lXXX"
- Health: 50
- BossBar:
- Enabled: true
- Title: '&4&lXXX'
- Range: 128
- Color: GREEN
- Style: SOLID
- CreateFog: false
- DarkenSky: false
- Skills:
- - model{mid=boss} @Self ~onSpawn
- - sound{s=entity.wither.spawn;v=1;p=1;sc=MASTER} @Self ~onSpawn
- - sound{s=entity.wither.death;v=1;p=1;sc=MASTER} @Self ~onDeath
- - skill{s=[ - pandeloot{mm:TXP-T11-ITEM{hologram=DISPLAY;visibility=player;glow=true;color=RED}}
- - sound{s=entity.shulker.shoot;v=1.00;p=1.25;sc=MASTER} ]} @Server ~onDeath
Add Comment
Please, Sign In to add comment