Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cgytrus/MCFunctionExtensions
Some extensions to the vanilla Minecraft functions syntax
https://github.com/cgytrus/MCFunctionExtensions
Last synced: about 1 month ago
JSON representation
Some extensions to the vanilla Minecraft functions syntax
- Host: GitHub
- URL: https://github.com/cgytrus/MCFunctionExtensions
- Owner: cgytrus
- License: mit
- Created: 2021-07-25T20:31:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-29T17:55:12.000Z (over 3 years ago)
- Last Synced: 2024-08-04T04:06:52.626Z (5 months ago)
- Language: C#
- Homepage:
- Size: 75.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcc - McFunctionExtensions - some extensions to the vanilla Minecraft functions syntax (Uncategorized / Uncategorized)
README
# Minecraft Function Extensions
Some extensions to the vanilla functions syntax## Features
- Libraries
- Constants
- Custom commands
- Self namespaces
- Anonymous functions
- Inline functions
- Else statements
- For loops
- Execute optimization (removes 'execute run')## TODO
*features ending with a question mark are ones i'm not sure of*
- function arguments?
- idk what else yet but you can suggest your ideas ;)## Example
this example would be compiled to 3 files located next to test.extmcfunction: text.mcfunction, zombie_detected.mcfunction and pog.mcfunction
```
# test.extmcfunction
execute unless entity @s run say not bruh :(
else if entity @e[type=zombie] run function :zombie_detected {
say yooo
say duuuude
function :pog {
say this is Pog
}
}
else if entity @e[type=boat] run say bruh
else run say gimme B O A T S
```