impliment custom command for tranporting to creative, doesn't work yet
This commit is contained in:
parent
440715feea
commit
3a4e6fde9a
@ -1,2 +0,0 @@
|
||||
# load function
|
||||
say This load function
|
||||
@ -1 +0,0 @@
|
||||
# tick function
|
||||
1
data/ferdinland/function/command/init.mcfunction
Normal file
1
data/ferdinland/function/command/init.mcfunction
Normal file
@ -0,0 +1 @@
|
||||
scoreboard objectives add transportCreative trigger
|
||||
@ -0,0 +1 @@
|
||||
say the test worked
|
||||
3
data/ferdinland/function/command/trigger.mcfunction
Normal file
3
data/ferdinland/function/command/trigger.mcfunction
Normal file
@ -0,0 +1,3 @@
|
||||
scoreboard players enable @a transportCreative
|
||||
execute as @a[scores={transportCreative=1..}] run say test
|
||||
scoreboard players set @a transportCreative 0
|
||||
3
data/ferdinland/function/load.mcfunction
Normal file
3
data/ferdinland/function/load.mcfunction
Normal file
@ -0,0 +1,3 @@
|
||||
# load function
|
||||
say This load function
|
||||
function ferdinland:command/init
|
||||
4
data/ferdinland/function/tick.mcfunction
Normal file
4
data/ferdinland/function/tick.mcfunction
Normal file
@ -0,0 +1,4 @@
|
||||
# tick function
|
||||
#
|
||||
|
||||
function ferdinland:command/trigger
|
||||
Loading…
Reference in New Issue
Block a user