-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: share walk_location_hierarchy with mecha
- Loading branch information
Showing
5 changed files
with
114 additions
and
21 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
39 changes: 39 additions & 0 deletions
39
examples/bolt_nested_location/src/data/ref/functions/foo.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,39 @@ | ||
x = "" | ||
|
||
function ~/{x} | ||
function ~/thing{x} | ||
function ~/../thing{x} | ||
|
||
function ref:bar: | ||
function ~/{x} | ||
function ~/thing{x} | ||
function ~/../thing{x} | ||
|
||
append function ~/thing{x}: | ||
function #~/aaa{x} | ||
|
||
function ./wat: | ||
function ~/{x} | ||
function ~/thing{x} | ||
function ~/../thing{x} | ||
|
||
append function ~/thing{x}: | ||
function #~/bbb{x} | ||
|
||
function ~/this{x}: | ||
function ~/{x} | ||
function ~/thing{x} | ||
function ~/../thing{x} | ||
|
||
append function ~/thing{x}: | ||
function #~/ccc{x} | ||
|
||
function ~/../upthis{x}: | ||
function ~/{x} | ||
function ~/thing{x} | ||
function ~/../thing{x} | ||
|
||
append function ~/thing{x}: | ||
function #~/ddd{x} | ||
|
||
execute if function ~/condition{x} run function ~/action{x} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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