Skip to content

Commit

Permalink
Updated the pack completely
Browse files Browse the repository at this point in the history
  • Loading branch information
gk98s authored Sep 23, 2021
1 parent f7830dc commit f937713
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/drugs/functions/drugused.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
scoreboard players set @s DrugUsed 0
execute as @a[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:'{"text":"Drug"}'}}}}] run effect give @s nausea 90 1 true
1 change: 1 addition & 0 deletions data/drugs/functions/load.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tellraw @a {"text": "The pack is still under development. The drugs are not obtainable in survival mode for now. You can still obtain them by the command on my github. Also feel free to post your suggestions at github/gk98s.", "color": "#0000FF"}
1 change: 1 addition & 0 deletions data/drugs/functions/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
execute as @e[scores={DrugUsed=1..}] run function drugs:drugused
6 changes: 6 additions & 0 deletions data/minecraft/tags/functions/load.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"drugs:load"
]

}
6 changes: 6 additions & 0 deletions data/minecraft/tags/functions/tick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"drugs:tick"
]

}
7 changes: 7 additions & 0 deletions pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"pack": {
"pack_format": 7,
"description": "Still in development."
}
}

0 comments on commit f937713

Please sign in to comment.