Skip to content

Commit

Permalink
release(0.0.1): added tags for all effects
Browse files Browse the repository at this point in the history
  • Loading branch information
moxvallix committed Mar 24, 2022
1 parent e221bfa commit 70da1f4
Show file tree
Hide file tree
Showing 11 changed files with 333 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.1] - 2022-03-24
### Added
- Simple Readme
- Basic datapack structure.
- Tags for all effects in game. (eg. "speed-boost-3")
5 changes: 5 additions & 0 deletions datapack/data/minecraft/tags/functions/load.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"s255:init"
]
}
5 changes: 5 additions & 0 deletions datapack/data/minecraft/tags/functions/tick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"s255:tick"
]
}
3 changes: 3 additions & 0 deletions datapack/data/s255/functions/effects.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function s255:effects/single
function s255:effects/max_seven
function s255:effects/regular
42 changes: 42 additions & 0 deletions datapack/data/s255/functions/effects/max_seven.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
effect give @e[tag=resistance] minecraft:resistance 1 0 true
effect give @e[tag=resistance-1] minecraft:resistance 1 1 true
effect give @e[tag=resistance-2] minecraft:resistance 1 2 true
effect give @e[tag=resistance-3] minecraft:resistance 1 3 true
effect give @e[tag=resistance-4] minecraft:resistance 1 4 true
effect give @e[tag=resistance-5] minecraft:resistance 1 5 true
effect give @e[tag=resistance-max] minecraft:resistance 1 6 true
effect give @e[tag=mining-fatigue] minecraft:mining_fatigue 1 0 true
effect give @e[tag=mining-fatigue-1] minecraft:mining_fatigue 1 1 true
effect give @e[tag=mining-fatigue-2] minecraft:mining_fatigue 1 2 true
effect give @e[tag=mining-fatigue-3] minecraft:mining_fatigue 1 3 true
effect give @e[tag=mining-fatigue-4] minecraft:mining_fatigue 1 4 true
effect give @e[tag=mining-fatigue-5] minecraft:mining_fatigue 1 5 true
effect give @e[tag=mining-fatigue-max] minecraft:mining_fatigue 1 6 true
effect give @e[tag=haste] minecraft:haste 1 0 true
effect give @e[tag=haste-1] minecraft:haste 1 1 true
effect give @e[tag=haste-2] minecraft:haste 1 2 true
effect give @e[tag=haste-3] minecraft:haste 1 3 true
effect give @e[tag=haste-4] minecraft:haste 1 4 true
effect give @e[tag=haste-5] minecraft:haste 1 5 true
effect give @e[tag=haste-max] minecraft:haste 1 6 true
effect give @e[tag=slowness] minecraft:slowness 1 0 true
effect give @e[tag=slowness-1] minecraft:slowness 1 1 true
effect give @e[tag=slowness-2] minecraft:slowness 1 2 true
effect give @e[tag=slowness-3] minecraft:slowness 1 3 true
effect give @e[tag=slowness-4] minecraft:slowness 1 4 true
effect give @e[tag=slowness-5] minecraft:slowness 1 5 true
effect give @e[tag=slowness-max] minecraft:slowness 1 6 true
effect give @e[tag=poison] minecraft:poison 1 0 true
effect give @e[tag=poison-1] minecraft:poison 1 1 true
effect give @e[tag=poison-2] minecraft:poison 1 2 true
effect give @e[tag=poison-3] minecraft:poison 1 3 true
effect give @e[tag=poison-4] minecraft:poison 1 4 true
effect give @e[tag=poison-5] minecraft:poison 1 5 true
effect give @e[tag=poison-max] minecraft:poison 1 6 true
effect give @e[tag=wither] minecraft:wither 1 0 true
effect give @e[tag=wither-1] minecraft:wither 1 1 true
effect give @e[tag=wither-2] minecraft:wither 1 2 true
effect give @e[tag=wither-3] minecraft:wither 1 3 true
effect give @e[tag=wither-4] minecraft:wither 1 4 true
effect give @e[tag=wither-5] minecraft:wither 1 5 true
effect give @e[tag=wither-max] minecraft:wither 1 6 true
252 changes: 252 additions & 0 deletions datapack/data/s255/functions/effects/regular.mcfunction

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions datapack/data/s255/functions/effects/single.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
effect give @e[tag=glowing] minecraft:glowing 1 0 true
effect give @e[tag=blindness] minecraft:blindness 1 0 true
effect give @e[tag=invisibility] minecraft:invisibility 1 0 true
effect give @e[tag=nausea] minecraft:nausea 1 0 true
effect give @e[tag=night-vision] minecraft:night_vision 1 0 true
effect give @e[tag=slow-falling] minecraft:slow_falling 1 0 true
effect give @e[tag=fire-resistance] minecraft:fire_resistance 1 0 true
effect give @e[tag=water-breathing] minecraft:water_breathing 1 0 true
Empty file.
1 change: 1 addition & 0 deletions datapack/data/s255/functions/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
function s255:effects
6 changes: 6 additions & 0 deletions datapack/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack":{
"pack_format": 9,
"description": "Speed255 - An easy, fast, datapack library"
}
}
Binary file added datapack/pack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 70da1f4

Please sign in to comment.