-
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.
- Loading branch information
oOBoomberOo
committed
Jul 6, 2019
0 parents
commit 2b9e98b
Showing
97 changed files
with
587 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,18 @@ | ||
{ | ||
"display": { | ||
"title": "Boomber", | ||
"description": "", | ||
"icon": { | ||
"item": "minecraft:player_head", | ||
"nbt": "{SkullOwner:{Name: \"Boomber\", Properties: {textures: [{Value: \"eyJ0aW1lc3RhbXAiOjE1NjIzOTgxODAxMDksInByb2ZpbGVJZCI6ImExNWZmYjIxOGE2YjQ2ODlhOTQ5Y2IxOWE3MDRmYTdhIiwicHJvZmlsZU5hbWUiOiJCb29tYmVyIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2FmYzFjZThjYWQ0MTQzOGVjYjU2N2NlMjA1NmVjOTA2M2UyMGFlMTgxYmZiNWViY2YyYWY2ZmRhNTZhNDI5YWYifX19\"}]}}}" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": false | ||
}, | ||
"parent": "global:root", | ||
"criteria": { | ||
"trigger": { | ||
"trigger": "minecraft: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,17 @@ | ||
{ | ||
"display": { | ||
"title": "Double Door v1.0.0", | ||
"description": "Opening door is now twice as efficient!", | ||
"icon": { | ||
"item": "minecraft:oak_door" | ||
}, | ||
"announce_to_chat": false, | ||
"show_toast": false | ||
}, | ||
"parent": "boomber:boomber", | ||
"criteria": { | ||
"trigger": { | ||
"trigger": "minecraft:tick" | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/acacia_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:acacia_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/acacia_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/birch_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:birch_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/birch_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/dark_oak_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:dark_oak_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/dark_oak_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/iron_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:iron_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/iron_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/jungle_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:jungle_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/jungle_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/oak_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:oak_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/oak_door" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
data/boomber/advancements/double_door/event/place/spruce_door.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"oak_door": { | ||
"trigger": "minecraft:placed_block", | ||
"conditions": { | ||
"item": { | ||
"item": "minecraft:spruce_door" | ||
} | ||
} | ||
} | ||
}, | ||
"parent": "boomber:double_door/event/root", | ||
"rewards": { | ||
"function": "boomber:double_door/event/place/spruce_door" | ||
} | ||
} |
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 @@ | ||
{ | ||
"criteria": { | ||
"impossible": { | ||
"trigger": "minecraft:impossible" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
data/boomber/functions/double_door/door/block/close.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
execute if entity @s[tag=boomber.double_door.oak] run function boomber:double_door/door/block/close/oak/main | ||
execute if entity @s[tag=boomber.double_door.spruce] run function boomber:double_door/door/block/close/spruce/main | ||
execute if entity @s[tag=boomber.double_door.birch] run function boomber:double_door/door/block/close/birch/main | ||
execute if entity @s[tag=boomber.double_door.jungle] run function boomber:double_door/door/block/close/jungle/main | ||
execute if entity @s[tag=boomber.double_door.acacia] run function boomber:double_door/door/block/close/acacia/main | ||
execute if entity @s[tag=boomber.double_door.dark_oak] run function boomber:double_door/door/block/close/dark_oak/main | ||
execute if entity @s[tag=boomber.double_door.iron] run function boomber:double_door/door/block/close/iron/main |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/acacia/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:acacia_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:acacia_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:acacia_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:acacia_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:acacia_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:acacia_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:acacia_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:acacia_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/acacia/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/acacia/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/acacia/right |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/acacia/right.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:acacia_door[facing=east, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:acacia_door[facing=east, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:acacia_door[facing=west, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:acacia_door[facing=west, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:acacia_door[facing=north, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:acacia_door[facing=north, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:acacia_door[facing=south, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:acacia_door[facing=south, half=upper, hinge=right, open=false] |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/birch/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:birch_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:birch_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:birch_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:birch_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:birch_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:birch_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:birch_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:birch_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/birch/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/birch/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/birch/right |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/birch/right.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:birch_door[facing=east, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:birch_door[facing=east, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:birch_door[facing=west, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:birch_door[facing=west, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:birch_door[facing=north, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:birch_door[facing=north, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:birch_door[facing=south, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:birch_door[facing=south, half=upper, hinge=right, open=false] |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/dark_oak/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/dark_oak/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/dark_oak/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/dark_oak/right |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/dark_oak/right.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=east, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=east, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=west, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=west, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=north, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=north, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:dark_oak_door[facing=south, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:dark_oak_door[facing=south, half=upper, hinge=right, open=false] |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/iron/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:iron_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:iron_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:iron_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:iron_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:iron_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:iron_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:iron_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:iron_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/iron/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/iron/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/iron/right |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/iron/right.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:iron_door[facing=east, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:iron_door[facing=east, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:iron_door[facing=west, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:iron_door[facing=west, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:iron_door[facing=north, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:iron_door[facing=north, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:iron_door[facing=south, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:iron_door[facing=south, half=upper, hinge=right, open=false] |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/jungle/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:jungle_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:jungle_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:jungle_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:jungle_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:jungle_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:jungle_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:jungle_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:jungle_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/jungle/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/jungle/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/jungle/right |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/jungle/right.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:jungle_door[facing=east, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:jungle_door[facing=east, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:jungle_door[facing=west, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:jungle_door[facing=west, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:jungle_door[facing=north, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:jungle_door[facing=north, half=upper, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:jungle_door[facing=south, half=lower, hinge=right, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:jungle_door[facing=south, half=upper, hinge=right, open=false] |
8 changes: 8 additions & 0 deletions
8
data/boomber/functions/double_door/door/block/close/oak/left.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~ ~ minecraft:oak_door[facing=east, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.east] run setblock ~ ~1 ~ minecraft:oak_door[facing=east, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~ ~ minecraft:oak_door[facing=west, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.west] run setblock ~ ~1 ~ minecraft:oak_door[facing=west, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~ ~ minecraft:oak_door[facing=north, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.north] run setblock ~ ~1 ~ minecraft:oak_door[facing=north, half=upper, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~ ~ minecraft:oak_door[facing=south, half=lower, hinge=left, open=false] | ||
execute if entity @s[tag=boomber.double_door.facing.south] run setblock ~ ~1 ~ minecraft:oak_door[facing=south, half=upper, hinge=left, open=false] |
2 changes: 2 additions & 0 deletions
2
data/boomber/functions/double_door/door/block/close/oak/main.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
execute if entity @s[tag=boomber.double_door.hinge.left] run function boomber:double_door/door/block/close/oak/left | ||
execute if entity @s[tag=boomber.double_door.hinge.right] run function boomber:double_door/door/block/close/oak/right |
Oops, something went wrong.