Skip to content

Commit

Permalink
fix tick tag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
uran247 committed Nov 26, 2020
1 parent 32fe14c commit 333667c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion data/advancements/functions/give-items.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ loot give @s[advancements={item:tools/wrench=true}] loot item:tools/wrench
clear @s phantom_spawn_egg 1
execute store success score @s vp.reg1 run clear @s phantom_spawn_egg 0
execute if score @s vp.reg1 matches 1.. run function advancements:give-items
say give
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#処理:phantom_spawn_eggがアイテム欄から消えるまでplaneを与え、レシピと進捗を削除する
function advancements:give-items
function advancements:take-item-recipes
say man
1 change: 0 additions & 1 deletion data/advancements/functions/take-item-recipes.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
recipe take @s[advancements={item:tools/wrench=true}] item:tools/wrench

advancement revoke @s from plane-data:crafting/root
say take
9 changes: 5 additions & 4 deletions data/constructor/functions/setdummyentity.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#1-3:vector 4:measurement 5:craft 6:damage 7,8,9:check block a,b:measurement

execute in overworld run forceload add 0 0
execute in the_nether run forceload add 0 0
execute in the_end run forceload add 0 0

#kill @e[tag=block-detector]
summon minecraft:armor_stand 0 1 0 {NoGravity:1,Marker:1,Invisible:1,Tags:[entity-nohit,block-detector,"1"],UUID:[I;0,0,0,1],Invulnerable:1}
summon minecraft:armor_stand 0 1 0 {NoGravity:1,Marker:1,Invisible:1,Tags:[entity-nohit,block-detector,"2"],UUID:[I;0,0,0,2],Invulnerable:1}
Expand Down Expand Up @@ -41,10 +46,6 @@ scoreboard players set @e[tag=block-detector,tag=18,x=0,y=1,z=0,distance=..1] vp
scoreboard players set @e[tag=block-detector,tag=19,x=0,y=1,z=0,distance=..1] vp.Num 19
scoreboard players set @e[tag=block-detector,tag=20,x=0,y=1,z=0,distance=..1] vp.Num 20

execute in overworld run forceload add 0 0
execute in the_nether run forceload add 0 0
execute in the_end run forceload add 0 0

summon minecraft:armor_stand -0.5 0 -0.5 {Marker:1b,Tags:[Trigonometric],NoGravity:1,Invulnerable:1,UUID:[I;0,0,0,32]}
summon minecraft:armor_stand 0 0 0 {Marker:1b,Tags:[Trigonometric2],NoGravity:1,Invulnerable:1,UUID:[I;0,0,0,33]}
data merge entity @e[tag=Trigonometric,limit=1] {Pos:[0d,0d,0d]}
Expand Down
2 changes: 1 addition & 1 deletion data/minecraft/tags/functions/tick.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"values": ["plane:tick","weapon:tick","debug:tick","math:tick"]
"values": ["plane:tick","weapon:tick","math:tick"]
}

0 comments on commit 333667c

Please sign in to comment.