Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coolreader18/betterfunction
An alternate language for Minecraft functions.
https://github.com/coolreader18/betterfunction
minecraft minecraft-commands nearley
Last synced: 28 days ago
JSON representation
An alternate language for Minecraft functions.
- Host: GitHub
- URL: https://github.com/coolreader18/betterfunction
- Owner: coolreader18
- License: mit
- Created: 2018-02-12T01:55:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-30T20:33:21.000Z (over 6 years ago)
- Last Synced: 2024-11-25T14:48:36.907Z (about 1 month ago)
- Topics: minecraft, minecraft-commands, nearley
- Language: TypeScript
- Homepage:
- Size: 11.8 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# betterfunction
An alternate language for Minecraft functions.
## What can you do with it?
```
namespace example_project {
tick func clock { // will run every tickif ?not entity @e[tag=target], func {// easy if
say "Target doesn't exist!";
// runat is an alias for `run execute at @s run`
execute func {
// inline functions!
tp ~ ~1 ~
}, as: @e[tag=other], run_at: @s;
};
}
load function load {
// will run on load// can leave out `dummy` when creating an objective
scoreboard::objectives::add "objectiv";
}
}
```## Installation
You need node and yarn or npm to install, or you grab the binary from /dist, but it may not be up to date
```sh
yarn global add https://github.com/coolreader18/betterfunction
```## License
This project is licensed under the MIT license. Please see the [LICENSE](LICENSE) file for more details.