Skip to content

Commit

Permalink
v0.1.1 - Minecraft Datapack's conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
oOBoomberOo committed Oct 9, 2019
1 parent bc54df1 commit fb3576d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"display": {
"title": "Armor Stand Editor v0.1.0",
"title": "Armor Stand Editor v0.1.1",
"description": [
{"text": "Intuitive armor stand editing"}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute as @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!test.point, sort=nearest, limit=1, distance=..2.3] run tag @s add boomber.armor_stand.target_stand
execute as @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!global.ignore, sort=nearest, limit=1, distance=..2.3] run tag @s add boomber.armor_stand.target_stand

function boomber:armor_stand/unique_vector/location
scoreboard players operation #bb.ae.pos.x bb.variable = #bb.ae.result.x bb.variable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
execute if entity @e[type=armor_stand, tag=!boomber.armor_stand.editing, distance=..2] run function boomber:armor_stand/editor_mage/selection/armor_stand
execute if entity @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!global.ignore, distance=..2] run function boomber:armor_stand/editor_mage/selection/armor_stand
execute as @s[distance=..5.5] if score #bb.ae.raycast bb.success matches 0 positioned ^ ^ ^0.1 run function boomber:armor_stand/editor_mage/selection/raycast
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute as @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!test.point, sort=nearest, limit=1, distance=..2.3] run tag @s add boomber.armor_stand.target_stand
execute as @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!global.ignore, sort=nearest, limit=1, distance=..2.3] run tag @s add boomber.armor_stand.target_stand

function boomber:armor_stand/unique_vector/location
scoreboard players operation #bb.ae.pos.x bb.variable = #bb.ae.result.x bb.variable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
execute if entity @e[type=armor_stand, tag=!boomber.armor_stand.editing, distance=..2] run function boomber:armor_stand/editor_mage/submit/armor_stand
execute if entity @e[type=armor_stand, tag=!boomber.armor_stand.editing, tag=!global.ignore, distance=..2] run function boomber:armor_stand/editor_mage/submit/armor_stand
execute as @s[distance=..5.5] if score #bb.ae.raycast bb.success matches 0 positioned ^ ^ ^0.1 run function boomber:armor_stand/editor_mage/submit/raycast
2 changes: 1 addition & 1 deletion data/boomber/functions/armor_stand/main.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute as @a[tag=!global.ignore, tag=!boomber.armor_stand.init] run function boomber:armor_stand/player/init
execute as @a[tag=boomber.armor_stand.init] at @s run function boomber:armor_stand/player/main

execute as @e[type=armor_stand, tag=boomber.armor_stand.editing] at @s run function boomber:armor_stand/smart_stand/main
execute as @e[type=armor_stand, tag=boomber.armor_stand.editing, tag=!global.ignore] at @s run function boomber:armor_stand/smart_stand/main
2 changes: 1 addition & 1 deletion data/boomber/loot_tables/armor_stand/item/editor_wand.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"function": "minecraft:set_lore",
"lore": [
{"text": "\"A smart Armor Stand editor\" -Boomber, 2019", "color": "gray", "italic": false}
{"text": "Smart armor stand editor", "color": "gray", "italic": false}
]
},
{
Expand Down

0 comments on commit fb3576d

Please sign in to comment.