-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
3 additions
and
7 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
3 changes: 1 addition & 2 deletions
3
datapacks/Skymode4/data/skymode4/functions/modules/barrel/update/lava.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,13 +1,12 @@ | ||
## convert lava to obsidian ## | ||
execute if block ~ ~1 ~ water run tag @s add barrelTemp | ||
execute if block ~ ~1 ~ flowing_water run tag @s add barrelTemp | ||
scoreboard players set @s[tag=barrelTemp] barrelContent 5 | ||
scoreboard players set @s[tag=barrelTemp] barrelTime -1 | ||
tag @s[tag=barrelTemp] remove barrelTemp | ||
|
||
## convert lava destroy ## | ||
scoreboard players add @s[tag=barrelWooden] barrelTime 1 | ||
tag @s[tag=barrelWooden,scores={barrelTime=3..}] add barrelTemp | ||
execute at @s[tag=barrelTemp] run setblock ~ ~ ~ flowing_lava | ||
execute at @s[tag=barrelTemp] run setblock ~ ~ ~ lava | ||
execute at @s[tag=barrelTemp] run particle smoke ~ ~0.4 ~ 0.2 0.2 0.2 0.03 100 | ||
tag @s[tag=barrelTemp] remove barrelTemp |
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