Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Fixed a few minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
talwat committed Sep 27, 2021
1 parent a441e1b commit 52e2752
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This was made by:

The datapack has the same installation process as other datapacks. It is also recommended to have a decent computer.

This datapack **needs** [this](https://placeholder) resource pack.
This datapack **needs** [this](https://drive.google.com/u/2/uc?id=1MNQ5_yWqn-W_p7k1F0Z4nXmfV46QirRS&export=download) resource pack.

Note: Due to a recipe, cooking raw chicken is broken.

Expand Down
2 changes: 1 addition & 1 deletion data/frog/functions/hitboxtick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Killing frog if hitbox has been killed
execute as @e[type=armor_stand, tag=frog] at @s unless entity @e[type=silverfish, tag=hitbox, sort=nearest, distance=..0.5] run playsound frog:ribbithigh neutral @a ~ ~ ~
execute as @e[type=armor_stand, tag=frog] at @s unless entity @e[type=silverfish, tag=hitbox, sort=nearest, distance=..0.5] run kill @s
execute as @e[type=silverfish, tag=hitbox] at @s unless entity @e[type=armor_stand, tag=frog, sort=nearest, distance=..0.5] run kill @s
execute as @e[type=silverfish, tag=hitbox] at @s unless entity @e[type=armor_stand, tag=frog, sort=nearest, distance=..0.5] run summon minecraft:armor_stand ~ ~ ~ {Tags:[frog], Invisible:1b, Small:1b, Silent:1b}

#Hit detection code
tag @e[type=silverfish, tag=hitbox, tag=!hurt,nbt={HurtTime:10s}] add hurt
Expand Down
2 changes: 0 additions & 2 deletions data/frog/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ kill @e[tag=hitbox]
#Red tint Detection Scoreboard
scoreboard objectives add hurtTime dummy



#Load Message
tellraw @a ["",{"text":"Frog","bold":true,"color":"dark_green"},{"text":" Datapack Loaded!","bold":true,"color":"green"}]

0 comments on commit 52e2752

Please sign in to comment.