-
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
0 parents
commit 2d2083d
Showing
114 changed files
with
3,376 additions
and
0 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,6 @@ | ||
|
||
{ | ||
"values":[ | ||
"tekpack:load" | ||
] | ||
} |
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,6 @@ | ||
|
||
{ | ||
"values":[ | ||
"tekpack:main" | ||
] | ||
} |
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,6 @@ | ||
# | ||
#Hier bitte für jede Item ID einen replaceitem Command eingeben! | ||
# | ||
execute as @s[scores={Iid=1}] run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{display:{Lore:["Ein mysteriöses leuchten geht von ihm aus..."],Name:"{\"text\":\"seltsamer Stein\",\"color\":\"dark_purple\",\"italic\":false}"},id:1s,Unbreakable:1b,HideFlags:4,Damage:1,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}]} | ||
execute as @s[scores={Iid=101}] run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{id:101s,Unbreakable:1b,HideFlags:4,Damage:1,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}],display:{Name:"{\"text\":\"§5Cable\"}",Lore:["§aTransfers energy"]}} | ||
execute as @s[scores={Iid=102}] run replaceitem entity @s weapon.mainhand minecraft:carrot_on_a_stick{id:102s,Unbreakable:1b,Damage:4,HideFlags:4,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}],display:{Name:"{\"text\":\"§5Solar Panel\"}"}} |
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,6 @@ | ||
# | ||
#Hier bitte für jede Item ID einen give Command eingeben! | ||
# | ||
give @s[scores={stackId=1}] minecraft:carrot_on_a_stick{display:{Lore:["Ein mysteriöses leuchten geht von ihm aus..."],Name:"{\"text\":\"seltsamer Stein\",\"color\":\"dark_purple\",\"italic\":false}"},id:1s,Unbreakable:1b,HideFlags:4,Damage:1,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}]} | ||
give @s[scores={stackId=101}] minecraft:carrot_on_a_stick{id:101s,Unbreakable:1b,HideFlags:4,Damage:1,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}],display:{Name:"{\"text\":\"§5Cable\"}",Lore:["§aTransfers energy"]}} | ||
give @s[scores={stackId=102}] minecraft:carrot_on_a_stick{id:102s,Unbreakable:1b,Damage:4,HideFlags:4,Stackable:1b,maxStack:64s,AttributeModifiers:[{UUIDMost:-1,UUIDLeast:-1,Amount:1,Slot:"mainhand",AttributeName:"generic.followRange",Operation:0,Name:"stack"}],display:{Name:"{\"text\":\"§5Solar Panel\"}"}} |
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 anchored eyes positioned ^ ^ ^ if entity @e[limit=1,sort=nearest,tag=counted,scores={Iamount=2..}] run function stack:config/drop | ||
|
||
execute anchored eyes positioned ^ ^ ^ as @e[type=item,tag=counted,sort=nearest,limit=1] run scoreboard players remove @s Iamount 1 | ||
execute anchored eyes positioned ^ ^ ^ store result entity @s SelectedItem.tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @e[limit=1,sort=nearest,type=item,tag=counted] Iamount | ||
execute anchored eyes positioned ^ ^ ^ run scoreboard players set @e[type=item,limit=1,sort=nearest,tag=counted] Iamount 1 | ||
execute anchored eyes positioned ^ ^ ^ store result entity @e[type=item,sort=nearest,limit=1,tag=counted] Item.tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @e[type=item,sort=nearest,limit=1,tag=counted] Iamount | ||
execute anchored eyes positioned ^ ^ ^ run tag @e[tag=counted,limit=1,sort=nearest,type=item] remove counted |
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,33 @@ | ||
execute at @a as @e[tag=!counted,type=item,nbt={Item:{tag:{Stackable:1b}}},distance=..6] store result score @s Iamount run data get entity @s Item.tag.AttributeModifiers[0].Amount 1 | ||
execute at @a as @e[tag=!counted,type=item,nbt={Item:{tag:{Stackable:1b}}},distance=..6] store result score @s stackId run data get entity @s Item.tag.id 1 | ||
execute at @a as @e[tag=!counted,type=item,nbt={Item:{tag:{Stackable:1b}}},distance=..6] store result score @s ImaxStack run data get entity @s Item.tag.maxStack 1 | ||
execute at @a as @e[tag=!counted,type=item,nbt={Item:{tag:{Stackable:1b}}},distance=..6] run scoreboard players set @s Ipickup 1 | ||
execute at @a run tag @e[type=item,nbt={Item:{tag:{Stackable:1b}}},tag=!counted,distance=..6] add counted | ||
|
||
execute at @a as @e[distance=..6,type=item,nbt={Item:{tag:{Stackable:1b}}}] run data merge entity @s {PickupDelay:10s} | ||
|
||
execute at @a as @e[sort=nearest,type=item,tag=counted,distance=..0.5,scores={Ipickup=1..},limit=1,tag=picked] run scoreboard players remove @s Ipickup 1 | ||
execute as @a at @s unless entity @e[tag=picked,distance=..0.5] run tag @e[sort=random,type=item,tag=counted,distance=..0.5,limit=1] add picked | ||
execute as @a at @s unless entity @e[tag=picking,distance=..0.5] run tag @e[sort=random,type=item,tag=counted,tag=picked,distance=..0.5,limit=1,scores={Ipickup=0}] add picking | ||
execute as @a at @s if entity @e[sort=nearest,type=item,distance=..0.5,scores={Ipickup=0},limit=1,tag=picking] run function stack:pickups | ||
|
||
execute at @a run scoreboard players add @e[type=item,tag=counted,distance=1..10,scores={Ipickup=..0}] Ipickup 1 | ||
|
||
execute as @a[scores={Idrop=1..,Isneak=0,Iid=1..}] at @s run function stack:drop | ||
|
||
execute as @a[nbt={Inventory:[{Slot:-106b,tag:{Stackable:1b}}]},scores={Isneak=1..,splitdown=0}] run function stack:offhand | ||
|
||
scoreboard players set @a[scores={Isneak=0}] splitdown 5 | ||
|
||
scoreboard players set @a[scores={Idrop=1..}] Idrop 0 | ||
scoreboard players set @a[scores={Isneak=1..}] Isneak 0 | ||
|
||
execute as @a store result score @s Iid run data get entity @s SelectedItem.tag.id | ||
|
||
scoreboard players remove @a[scores={splitdown=1..}] splitdown 1 | ||
|
||
|
||
|
||
|
||
|
||
|
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,48 @@ | ||
scoreboard players remove @s Iamount 1 | ||
|
||
execute as @s[scores={inv=1}] store result entity @s Inventory[0].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=2}] store result entity @s Inventory[1].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=3}] store result entity @s Inventory[2].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=4}] store result entity @s Inventory[3].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=5}] store result entity @s Inventory[4].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=6}] store result entity @s Inventory[5].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=7}] store result entity @s Inventory[6].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=8}] store result entity @s Inventory[7].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=9}] store result entity @s Inventory[8].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=10}] store result entity @s Inventory[9].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=11}] store result entity @s Inventory[10].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=12}] store result entity @s Inventory[11].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=13}] store result entity @s Inventory[12].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=14}] store result entity @s Inventory[13].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=15}] store result entity @s Inventory[14].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=16}] store result entity @s Inventory[15].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=17}] store result entity @s Inventory[16].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=18}] store result entity @s Inventory[17].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=19}] store result entity @s Inventory[18].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=20}] store result entity @s Inventory[19].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=21}] store result entity @s Inventory[20].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=22}] store result entity @s Inventory[21].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=23}] store result entity @s Inventory[22].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=24}] store result entity @s Inventory[23].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=25}] store result entity @s Inventory[24].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=26}] store result entity @s Inventory[25].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=27}] store result entity @s Inventory[26].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=28}] store result entity @s Inventory[27].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=29}] store result entity @s Inventory[28].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=30}] store result entity @s Inventory[29].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=31}] store result entity @s Inventory[30].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=32}] store result entity @s Inventory[31].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=33}] store result entity @s Inventory[32].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=34}] store result entity @s Inventory[33].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=35}] store result entity @s Inventory[34].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=36}] store result entity @s Inventory[35].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=37}] store result entity @s Inventory[36].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=38}] store result entity @s Inventory[37].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=39}] store result entity @s Inventory[38].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=40}] store result entity @s Inventory[39].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
execute as @s[scores={inv=41}] store result entity @s Inventory[40].tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Iamount | ||
|
||
execute as @s[scores={Iamount=0}] run replaceitem entity @s weapon.offhand air | ||
|
||
scoreboard players add @s Istack 1 | ||
execute store result entity @s SelectedItem.tag.AttributeModifiers[0].Amount int 1 run scoreboard players get @s Istack |
Oops, something went wrong.