MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Support for .mcfunction extension

Open UpcraftLP opened this issue 6 years ago • 9 comments
trafficstars

Since 1.12, Minecraft now has so-called functions. Those are text files ending in .mcfunction (refer to the Minecraft Wiki article), and are basically a series of commands that will be execuded when a user runs /function <function name> ingame.

It would be nice if the plugin at least recognized the file extension, even better if we had some syntax highlighting for the commands.

UpcraftLP avatar May 25 '19 13:05 UpcraftLP

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 24 '19 13:06 stale[bot]

I don't think this has been implemented..

UpcraftLP avatar Jun 25 '19 04:06 UpcraftLP

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 25 '19 05:07 stale[bot]

Interesting, I may try implement some tiny support?

KisaragiEffective avatar Jan 05 '20 16:01 KisaragiEffective

Interesting, I may try implement some tiny support?

Yes this would make creating datapacks so much better

emielderckx avatar Jan 09 '21 16:01 emielderckx

I like the idea, happy to accept PRs.

DenWav avatar Jan 10 '21 09:01 DenWav

My two cents: it would be a bit of a maintenance burden.

Earthcomputer avatar Jan 10 '21 12:01 Earthcomputer

https://github.com/Arcensoth/language-mcfunction I'm not a coder, but maybe you can use this. Some functions of it work allready with TextMate on intellij

emielderckx avatar Jan 10 '21 13:01 emielderckx

My two cents: it would be a bit of a maintenance burden.

lol yeah, every platform is a maintenance burden though.

https://github.com/Arcensoth/language-mcfunction I'm not a coder, but maybe you can use this.

That looks nice, though it's not in a format usable for us. We'd still need to do a lot of manual work.

DenWav avatar Jan 11 '21 08:01 DenWav