Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################
- ### TEMPLATES ###
- #################
- FGB-Template-NPC: &NPC_TEMPLATE
- Type: HUSK
- Faction: ALLY
- Options:
- MovementSpeed: 0.3
- PreventOtherDrops: true
- PreventRandomEquipment: true
- Silent: true
- Despawn: false
- Collidable: true
- Invincible: true
- AlwaysShowName: true
- PreventJockeyMounts: true
- PreventLeashing: false
- DamageModifiers:
- - DROWNING -0.01
- - VOID -0.01
- - STARVATION -0.01
- - POISON -0.01
- - LAVA -0.01
- - FALLING_BLOCK -0.01
- - MELTING -0.01
- - FIRE_TICK -0.01
- - FIRE -0.01
- - HOT_FLOOR -0.01
- - FALL -0.01
- - SUFFOCATION -0.01
- - CONTACT -0.01
- AIGoalSelectors:
- - 0 clear
- AITargetSelectors:
- - 0 clear
- FGB-Template-FOE: &FOE_TEMPLATE
- Type: HUSK
- Faction: FOE
- Options:
- PreventOtherDrops: true
- PreventRandomEquipment: true
- Silent: true
- Despawn: false
- AlwaysShowName: true
- PreventJockeyMounts: true
- DamageModifiers:
- - DROWNING -0.01
- - VOID -0.01
- - STARVATION -0.01
- - POISON -0.01
- - LAVA -0.01
- - FALLING_BLOCK -0.01
- - MELTING -0.01
- - FIRE_TICK -0.01
- - FIRE -0.01
- - HOT_FLOOR -0.01
- - FALL -0.01
- - SUFFOCATION -0.01
- - CONTACT -0.01
- AIGoalSelectors:
- - 0 clear
- - 1 meleeattack
- - 2 lookaround
- AITargetSelectors:
- - 0 clear
- - 1 players
- ###########
- ### T01 ###
- ###########
- FGB-T01-Lock:
- <<: *NPC_TEMPLATE
- Display: "&a&lLock"
- Skills:
- - setstance{s=SPAWN} @Self ~onSpawn
- - skill{s=[ - setstance{s=SPAWN}
- - sound{s=block.note_block.didgeridoo;v=2.00;p=1.00;sc=MASTER}
- - delay 1 ]} @Self ~onInteract ?stance{s=SPAWN;str=true} ?~!holding{m=FGB-T01-Key}
- - skill{s=[ - setstance{s=NULL}
- - sudoskill{s=[ - consumeHeldItem @Self ]} @Trigger
- - effect:particles{particle=happy_villager;amount=25;hS=0.25;vS=0.50;speed=0.1} @Selflocation{yOffset=1}
- - sound{s=block.chain.break;v=2.00;p=1.00;sc=MASTER;repeat=2;repeatInterval=1}
- - delay 35
- - setblocktype{m=REDSTONE_TORCH} @Location{c=-1209.5,53.00,-1423.5}
- - remove ]} @Self ~onInteract ?stance{s=SPAWN;str=true} ?~holding{m=FGB-T01-Key}
- Disguise: ARMOR_STAND setHelmet NETHERITE_SCRAP{CustomModelData:1684} setInvisible
Add Comment
Please, Sign In to add comment