This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
ScriptCraft/examples/typescript/README.md

10 lines
504 B
Markdown
Raw Normal View History

2020-04-29 23:41:08 +00:00
# TypeScript Example
This is an example of a Minecraft mod made in TypeScript using ScriptCraft.
#### Files
- ```src/main/ts```: Contains TypeScript Code
- ```src/main/java```: Contains Bootstrap Java Code
2020-04-30 00:32:07 +00:00
#### Notes
- When updating the Minecraft version, make sure to update it in the ```src/main/ts/package.json``` file as well
- This will also work with JavaScript if you set ```compilerOptions.allowJs``` and optionally ```compilerOptions.checkJs``` in ```src/main/ts/tsconfig.json``` to ```true```