Initial import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
scoreboard players add @s homingloot_count 1
|
||||
|
||||
execute if score @s homingloot_count matches 20 run data remove entity @s Motion
|
||||
execute if score @s homingloot_count matches 20 run data modify entity @s NoGravity set value 1b
|
||||
|
||||
execute if score @s homingloot_count matches 20.. run particle dust_color_transition 0.000 1.000 0.000 1 0.031 0.451 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96]
|
||||
|
||||
execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^0.25 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^0.25 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
|
||||
execute if score @s homingloot_count matches 30.. run particle dust_color_transition 0.000 1.000 0.000 1 1.000 1.000 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96]
|
||||
|
||||
execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^0.30 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^0.30 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
@@ -0,0 +1 @@
|
||||
scoreboard objectives add homingloot_count dummy
|
||||
@@ -0,0 +1,14 @@
|
||||
scoreboard players add @s homingloot_count 1
|
||||
|
||||
execute if score @s homingloot_count matches 20 run data remove entity @s Motion
|
||||
execute if score @s homingloot_count matches 20 run data modify entity @s NoGravity set value 1b
|
||||
|
||||
execute if score @s homingloot_count matches 20.. run particle dust_color_transition 0.969 1.000 0.000 1 0.031 0.451 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96]
|
||||
|
||||
execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^.3 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^.3 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
|
||||
execute if score @s homingloot_count matches 30.. run particle dust_color_transition 0.969 1.000 0.000 1 0.031 0.451 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96]
|
||||
|
||||
execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^.3 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^.3 facing entity @p[gamemode=!spectator,distance=..96] feet
|
||||
@@ -0,0 +1,2 @@
|
||||
execute as @e[type=minecraft:experience_orb] at @s run function homingloot:orb
|
||||
execute in zombiiattack:protect_villagers as @e[type=minecraft:item,nbt={Item:{id:"minecraft:emerald"}}] at @s if predicate homingloot:allowed_dimension run function homingloot:emerald
|
||||
Reference in New Issue
Block a user