Skip to content

Add .mcfunction output option#36

Open
Derpthemeus wants to merge 10 commits intocommandstudio:gh-pagesfrom
Derpthemeus:gh-pages
Open

Add .mcfunction output option#36
Derpthemeus wants to merge 10 commits intocommandstudio:gh-pagesfrom
Derpthemeus:gh-pages

Conversation

@Derpthemeus
Copy link

Adds options that allows users to compile to a list of a commands (can be pasted into a .mcfunction file) instead of summoning a command block minecart

Only adds compiler support, does not add syntax highlighting for new commands
@Derpthemeus
Copy link
Author

Derpthemeus commented Feb 24, 2023

PR is picking up unrelated changes because I neglected to make a separate branch. Let me know if you're interested in getting the change merged so I can split it into a separate branch and create a new PR

Functions are just printed to console right now
The breaks with hashtags. It probably would have been easier to fix with better escaping (encodeUriComponent?), but I'd already tried this method when I figured out what the root cause was (I thought the files were too long)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant