-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b85157
commit 746dae4
Showing
27 changed files
with
387 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
##feedingfrenzy | ||
scoreboard players remove @a[scores={feedingFrenzy=1..}] feedingFrenzy 1 | ||
scoreboard players reset @a[scores={feedingFrenzy=0}] feedingFrenzy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
##perks tick | ||
|
||
##unique perks | ||
function guns:graviton/cosmology/main | ||
function guns:recluse/moa | ||
|
||
##general perks | ||
function guns:general/perks/feedingfrenzy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#adsoff | ||
scoreboard players add @s adstimer 1 | ||
execute if score @s adstimer matches 1 run replaceitem entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1}}}] weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"\\"My bite will turn your sweet flesh to vile rot.\\"","color":"gray","italic":true}']},Unbreakable:1b,CustomModelData:123,gun:1,recluse:1,ads:0} 1 | ||
execute if score @s adstimer matches 2 run replaceitem entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1}}}] weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"\\"My bite will turn your sweet flesh to vile rot.\\"","color":"gray","italic":true}']},Unbreakable:1b,CustomModelData:122,gun:1,recluse:1,ads:0} 1 | ||
execute if score @s adstimer matches 3 run replaceitem entity @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1}}}] weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"\\"My bite will turn your sweet flesh to vile rot.\\"","color":"gray","italic":true}']},Unbreakable:1b,CustomModelData:120,gun:1,recluse:1,ads:0} 1 | ||
effect clear @s slowness | ||
tag @s remove ads | ||
execute if score @s adstimer matches 1 at @s run playsound minecraft:recluseadsoff master @s | ||
execute if score @s adstimer matches ..3 as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1}}}] run schedule function guns:recluse/scheduleadsoff 1t | ||
execute if score @s adstimer matches 4.. run function guns:general/setmag | ||
execute if score @s adstimer matches 4.. run scoreboard players reset @s adstimer | ||
|
||
##setmag | ||
execute as @s run function guns:general/setmag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
##adson | ||
scoreboard players add @s adstimer 1 | ||
execute if score @s adstimer matches 1 run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"a pew pew gun"}']},Unbreakable:1b,CustomModelData:122,gun:1,recluse:1,ads:1} 1 | ||
execute if score @s adstimer matches 2 run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"a pew pew gun"}']},Unbreakable:1b,CustomModelData:123,gun:1,recluse:1,ads:1} 1 | ||
execute if score @s adstimer matches 3 run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"a pew pew gun"}']},Unbreakable:1b,CustomModelData:121,gun:1,recluse:1,ads:1} 1 | ||
tag @s add ads | ||
effect give @s slowness 1000000 1 true | ||
execute at @s if score @s adstimer matches 1 run playsound minecraft:recluseadson master @s | ||
execute if score @s adstimer matches ..3 run schedule function guns:recluse/scheduleadson 1t | ||
execute if score @s adstimer matches 4.. run function guns:general/setmag | ||
execute if score @s adstimer matches 4.. run scoreboard players reset @s adstimer | ||
|
||
##setmag | ||
execute as @s run function guns:general/setmag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
##adsrecoil | ||
##animation ads | ||
execute as @s[scores={recoiltimer=1},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1,recluse:1,ads:1}}}] run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"a pew pew gun"}']},Unbreakable:1b,CustomModelData:126,gun:1,recluse:1,ads:1} 1 | ||
execute as @s[scores={recoiltimer=2},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1,recluse:1,ads:1}}}] run replaceitem entity @s weapon.mainhand carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"My bite will turn your","color":"gray"}','{"text":"sweet flesh to vile rot.","color":"gray"}']},HideFlags:63,Unbreakable:1b,CustomModelData:127,gun:1,recluse:1,ads:1} 1 | ||
execute as @s[scores={recoiltimer=3},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1,recluse:1,ads:1}}}] run replaceitem entity @s weapon.mainhand carrot_on_a_stick{display:{Name:'{"text":"The Recluse","color":"dark_red","bold":true,"italic":false}',Lore:['{"text":"My bite will turn your","color":"gray"}','{"text":"sweet flesh to vile rot.","color":"gray"}']},HideFlags:63,Unbreakable:1b,CustomModelData:121,gun:1,recluse:1,ads:1} 1 | ||
|
||
##setmag | ||
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{gun:1,recluse:1,ads:1}}}] run function guns:general/setmag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
##nocrit | ||
#execute if score Range shootgun matches ..24 run effect give @e[distance=..1,type=#guns:mobs,type=!#minecraft:undead] instant_damage 1 2 true | ||
#execute if score Range shootgun matches ..24 run effect give @e[distance=..1,type=#guns:mobs,type=#minecraft:undead] instant_health 1 2 true | ||
#execute if score Range shootgun matches 25.. run effect give @e[distance=..1,type=#guns:mobs,type=!#minecraft:undead] instant_damage 1 1 true | ||
#execute if score Range shootgun matches 25.. run effect give @e[distance=..1,type=#guns:mobs,type=#minecraft:undead] instant_health 1 1 true | ||
execute as @s run function aestd1:entity/get_uuid | ||
execute if score Range shootgun matches 0.. run effect give @a[distance=..1,tag=!shooter] instant_damage 1 0 true | ||
execute positioned ~ ~ ~ if entity @e[distance=..1,type=#guns:mobs,scores={hp=..4}] run scoreboard players set Kill shootgun 1 | ||
execute positioned ~ ~ ~ if entity @e[distance=..1,type=#aestd1:bosses,scores={hp=..4}] run scoreboard players set Kill shootgun 1 | ||
execute if score @s masterOfArms matches 1.. positioned ~ ~ ~ if entity @e[distance=..1,type=#guns:mobs,scores={hp=..6}] run scoreboard players set Kill shootgun 1 | ||
execute if score @s masterOfArms matches 1.. positioned ~ ~ ~ if entity @e[distance=..1,type=#aestd1:bosses,scores={hp=..6}] run scoreboard players set Kill shootgun 1 | ||
tag @e[distance=..1,type=#guns:mobs] add aestd.damage.hurt_by_player | ||
tag @e[distance=..1,type=#aestd1:bosses] add aestd.damage.hurt_by_player | ||
execute as @e[distance=..1,type=#guns:mobs] run scoreboard players set @s aestd.damage 400 | ||
execute as @e[distance=..1,type=#aestd1:bosses] run scoreboard players set @s aestd.damage 400 | ||
execute if score @s masterOfArms matches 1.. as @e[distance=..1,type=#guns:mobs] run scoreboard players set @s aestd.damage 600 | ||
execute if score @s masterOfArms matches 1.. as @e[distance=..1,type=#aestd1:bosses] run scoreboard players set @s aestd.damage 600 | ||
execute as @e[distance=..1,type=#guns:mobs] run function aestd1:entity/damage | ||
execute as @e[distance=..1,type=#aestd1:bosses] run function aestd1:entity/damage | ||
scoreboard players reset @e aestd.damage | ||
tag @e[tag=aestd.damage.hurt_by_player] remove aestd.damage.hurt_by_player | ||
execute positioned ~ ~ ~ if entity @a[distance=..1,tag=!shooter,scores={hp=..2}] run scoreboard players set Kill shootgun 1 | ||
execute if score Kill shootgun matches 1 at @s run playsound kill master @s | ||
execute if score Kill shootgun matches 1 positioned ~ ~ ~ run function guns:recluse/kill | ||
scoreboard players reset Kill shootgun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
##decoil | ||
execute as @s[tag=!ads] run function guns:recluse/noadsrecoil | ||
execute as @s[tag=ads] run function guns:recluse/adsrecoil | ||
##timer | ||
scoreboard players add @s[tag=recoil] recoiltimer 1 | ||
execute as @s[tag=recoil,scores={recoiltimer=1..4}] at @s run tp @s ~ ~ ~ ~ ~-0.5 | ||
execute as @s[scores={recoiltimer=4..}] run function guns:general/setmag | ||
execute as @s[scores={recoiltimer=4..}] run tag @s[tag=recoil] remove recoil | ||
execute as @s[scores={recoiltimer=4..}] run scoreboard players reset @s recoiltimer |
Oops, something went wrong.