-
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.
containers support for collector pylon
- Loading branch information
1 parent
93302e8
commit caebc88
Showing
17 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 4 additions & 7 deletions
11
Datapack/data/lthc.mage/functions/components/essences/find_which.mcfunction
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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
execute if entity @s[tag=lthc.mage.pylons.aero] run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/aero | ||
execute if entity @s[tag=lthc.mage.pylons.end] run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/end | ||
execute if entity @s[tag=lthc.mage.pylons.fungus] run function lthc.mage:components/essences/gen/fungus | ||
execute if entity @s[tag=lthc.mage.pylons.hydro] run function lthc.mage:components/essences/gen/hydro | ||
execute if entity @s[tag=lthc.mage.pylons.thermo] run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.thermo2] run function lthc.mage:components/essences/gen/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.phyto] run function lthc.mage:components/essences/gen/phyto | ||
scoreboard players set #is_there lthc.mage.data 0 | ||
execute store success score #is_there lthc.mage.data if block ~ ~1 ~ #lthc.mage:containers | ||
execute if score #is_there lthc.mage.data matches 0 run function lthc.mage:components/essences/supports/natural | ||
execute if score #is_there lthc.mage.data matches 1 run function lthc.mage:components/essences/supports/containers | ||
|
||
function lthc.mage:components/essences/effects |
2 changes: 2 additions & 0 deletions
2
Datapack/data/lthc.mage/functions/components/essences/gen/containers/fungus.mcfunction
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,2 @@ | ||
loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/fungus | ||
execute if predicate lthc.mage:luck/3 unless predicate lthc.mage:boost/daytime run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/fungus |
2 changes: 2 additions & 0 deletions
2
Datapack/data/lthc.mage/functions/components/essences/gen/containers/hydro.mcfunction
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,2 @@ | ||
loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/hydro | ||
execute if predicate lthc.mage:luck/3 if predicate lthc.mage:boost/rainy_thundery run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/hydro |
2 changes: 2 additions & 0 deletions
2
Datapack/data/lthc.mage/functions/components/essences/gen/containers/phyto.mcfunction
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,2 @@ | ||
loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/phyto | ||
execute if predicate lthc.mage:luck/3 if predicate lthc.mage:boost/daytime run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/phyto |
2 changes: 2 additions & 0 deletions
2
Datapack/data/lthc.mage/functions/components/essences/gen/containers/thermo.mcfunction
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,2 @@ | ||
loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/thermo | ||
execute if predicate lthc.mage:luck/3 if predicate lthc.mage:components/essences/thermo2 run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/thermo |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
Datapack/data/lthc.mage/functions/components/essences/supports/containers.mcfunction
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,7 @@ | ||
execute if entity @s[tag=lthc.mage.pylons.aero] unless predicate lthc.mage:luck/8 run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/aero | ||
execute if entity @s[tag=lthc.mage.pylons.end] unless predicate lthc.mage:luck/8 run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/end | ||
execute if entity @s[tag=lthc.mage.pylons.fungus] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/containers/fungus | ||
execute if entity @s[tag=lthc.mage.pylons.hydro] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/containers/hydro | ||
execute if entity @s[tag=lthc.mage.pylons.thermo] unless predicate lthc.mage:luck/8 run loot insert ~ ~1 ~ loot lthc.mage:item/components/essences/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.thermo2] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/containers/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.phyto] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/containers/phyto |
7 changes: 7 additions & 0 deletions
7
Datapack/data/lthc.mage/functions/components/essences/supports/natural.mcfunction
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,7 @@ | ||
execute if entity @s[tag=lthc.mage.pylons.aero] unless predicate lthc.mage:luck/8 run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/aero | ||
execute if entity @s[tag=lthc.mage.pylons.end] unless predicate lthc.mage:luck/8 run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/end | ||
execute if entity @s[tag=lthc.mage.pylons.fungus] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/natural/fungus | ||
execute if entity @s[tag=lthc.mage.pylons.hydro] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/natural/hydro | ||
execute if entity @s[tag=lthc.mage.pylons.thermo] unless predicate lthc.mage:luck/8 run loot spawn ~ ~1 ~ loot lthc.mage:item/components/essences/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.thermo2] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/natural/thermo | ||
execute if entity @s[tag=lthc.mage.pylons.phyto] unless predicate lthc.mage:luck/8 run function lthc.mage:components/essences/gen/natural/phyto |
2 changes: 1 addition & 1 deletion
2
Datapack/data/lthc.mage/functions/core/loops/300ticks.mcfunction
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 @@ | ||
{ | ||
"values": [ | ||
"hopper", | ||
"chest", | ||
"trapped_chest", | ||
"barrel", | ||
"dispenser", | ||
"dropper", | ||
"furnace", | ||
"smoker", | ||
"blast_furnace", | ||
"#shulker_boxes" | ||
] | ||
} |