TheBrokenRail
5e176a84fa
All checks were successful
ScriptCraft/pipeline/head This commit looks good
|
||
---|---|---|
.. | ||
src/main | ||
.gitignore | ||
build.gradle | ||
gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle | ||
typescript.build.gradle |
TypeScript Example
This is an example of a Minecraft mod made in TypeScript using ScriptCraft.
Files
src/main/ts
: Contains TypeScript Codesrc/main/java
: Contains Bootstrap Java Code
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 optionallycompilerOptions.checkJs
insrc/main/ts/tsconfig.json
totrue
- NPM dependencies are not bundled