Initial import

This commit is contained in:
Darto KLoning
2026-06-20 20:58:13 +07:00
parent 2d6b7400a2
commit 0a22196ea6
76 changed files with 1019 additions and 0 deletions
@@ -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
+14
View File
@@ -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
@@ -0,0 +1,6 @@
{
"condition": "minecraft:location_check",
"predicate": {
"dimension": "zombiiattack:protect_villagers"
}
}