-
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.
release(0.0.1): added tags for all effects
- Loading branch information
Showing
11 changed files
with
333 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,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") |
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,5 @@ | ||
{ | ||
"values": [ | ||
"s255:init" | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"values": [ | ||
"s255:tick" | ||
] | ||
} |
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,3 @@ | ||
function s255:effects/single | ||
function s255:effects/max_seven | ||
function s255:effects/regular |
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,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
252
datapack/data/s255/functions/effects/regular.mcfunction
Large diffs are not rendered by default.
Oops, something went wrong.
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,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.
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 @@ | ||
function s255:effects |
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 @@ | ||
{ | ||
"pack":{ | ||
"pack_format": 9, | ||
"description": "Speed255 - An easy, fast, datapack library" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.