-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added system to return utility items to a player if they lose them
- Loading branch information
brickmaster5001
committed
Nov 2, 2023
1 parent
1d5e098
commit 2680d99
Showing
2 changed files
with
10 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
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,7 @@ | ||
execute unless data entity @s Inventory[{id:"ltextras:tropical_map"}] run playsound minecraft:block.note_block.chime master @s ~ ~ ~ 1 1.2 | ||
execute unless data entity @s Inventory[{id:"ltextras:tropical_map"}] run tellraw @s {"translate":"lt.utility.spawn.return_item_message.collectible_basket","color":"yellow"} | ||
execute unless data entity @s Inventory[{id:"ltextras:tropical_map"}] run function lt:collectible/give/utility/tropical_map | ||
|
||
execute unless data entity @s Inventory[{id:"ltextras:collectible_basket"}] run playsound minecraft:block.note_block.chime master @s ~ ~ ~ 1 1.2 | ||
execute unless data entity @s Inventory[{id:"ltextras:collectible_basket"}] run tellraw @s {"translate":"lt.utility.spawn.return_item_message.tropical_map","color":"yellow"} | ||
execute unless data entity @s Inventory[{id:"ltextras:collectible_basket"}] run function lt:collectible/give/utility/collectible_basket |