Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oOBoomberOo committed Jul 6, 2019
0 parents commit 2b9e98b
Show file tree
Hide file tree
Showing 97 changed files with 587 additions and 0 deletions.
18 changes: 18 additions & 0 deletions data/boomber/advancements/boomber.json
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"
}
}
}
17 changes: 17 additions & 0 deletions data/boomber/advancements/double_door/double_door.json
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 data/boomber/advancements/double_door/event/place/acacia_door.json
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 data/boomber/advancements/double_door/event/place/birch_door.json
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"
}
}
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 data/boomber/advancements/double_door/event/place/iron_door.json
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 data/boomber/advancements/double_door/event/place/jungle_door.json
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 data/boomber/advancements/double_door/event/place/oak_door.json
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 data/boomber/advancements/double_door/event/place/spruce_door.json
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"
}
}
7 changes: 7 additions & 0 deletions data/boomber/advancements/double_door/event/root.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"criteria": {
"impossible": {
"trigger": "minecraft:impossible"
}
}
}
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
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]
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
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]
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]
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
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]
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]
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
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]
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]
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
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]
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]
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
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]
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]
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
Loading

0 comments on commit 2b9e98b

Please sign in to comment.