-
-
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
Showing
4 changed files
with
8 additions
and
3 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: One Hundred Tiny Spiders | ||
author: Misode | ||
version: 1.0.0 | ||
version: 1.1.0 | ||
|
||
require: | ||
- bolt | ||
|
3 changes: 2 additions & 1 deletion
3
src/one_hundred_tiny_spiders/functions/tick_tiny_spider.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,6 +1,7 @@ | ||
scoreboard players add @s one_hundred_tiny_spiders 1 | ||
|
||
scoreboard players add @s[scores={one_hundred_tiny_spiders=100..140},predicate=one_hundred_tiny_spiders:stay_alive] one_hundred_tiny_spiders 1 | ||
scoreboard players set @s[scores={one_hundred_tiny_spiders=100..140},predicate=one_hundred_tiny_spiders:kill] one_hundred_tiny_spiders 144 | ||
|
||
execute if entity @s[scores={one_hundred_tiny_spiders=144},predicate=one_hundred_tiny_spiders:play_sound] run playsound minecraft:entity.chicken.egg master @a ~ ~ ~ 0.5 2 | ||
execute if entity @s[scores={one_hundred_tiny_spiders=150},predicate=one_hundred_tiny_spiders:spawn_particle] run particle minecraft:poof | ||
tp @s[scores={one_hundred_tiny_spiders=150..}] ~ ~-1000 ~ |
2 changes: 1 addition & 1 deletion
2
...d_tiny_spiders/predicates/stay_alive.json → ...hundred_tiny_spiders/predicates/kill.json
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,4 +1,4 @@ | ||
{ | ||
"condition": "minecraft:random_chance", | ||
"chance": 0.5 | ||
"chance": 0.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,4 @@ | ||
{ | ||
"condition": "minecraft:random_chance", | ||
"chance": 0.2 | ||
} |