Fix File Structures in Documentation
All checks were successful
ScriptCraft/pipeline/head This commit looks good
All checks were successful
ScriptCraft/pipeline/head This commit looks good
This commit is contained in:
parent
09015c0b20
commit
105d3b0933
@ -1,14 +1,14 @@
|
|||||||
# File Structure
|
# File Structure
|
||||||
```
|
```
|
||||||
Jar Root/
|
- Jar Root
|
||||||
- scriptcraft
|
- scriptcraft/
|
||||||
- JS or JSON files
|
- Source Root
|
||||||
```
|
```
|
||||||
|
|
||||||
## Recommended Source Structure
|
## Recommended Source Structure
|
||||||
```
|
```
|
||||||
Source Root/
|
- Source Root
|
||||||
- ModID
|
- ModID/
|
||||||
- index.js/index.ts
|
- index.js/index.ts
|
||||||
- Other Modules
|
- Other Modules
|
||||||
```
|
```
|
||||||
|
@ -14,9 +14,10 @@ This is an example of a Minecraft mod made in TypeScript using ScriptCraft.
|
|||||||
The ```typescript``` gradle configuration will extract the specified API JAR into ```src/main/ts/build/dependencies```.
|
The ```typescript``` gradle configuration will extract the specified API JAR into ```src/main/ts/build/dependencies```.
|
||||||
|
|
||||||
#### API JAR Format
|
#### API JAR Format
|
||||||
```$xslt
|
```
|
||||||
|
- API JAR Root
|
||||||
- src/
|
- src/
|
||||||
- DTS, TS, JS, or JSON files and folders
|
- Source Root
|
||||||
- types/
|
- types/
|
||||||
- File structure of node_modules/@types
|
- File structure of node_modules/@types
|
||||||
```
|
```
|
Reference in New Issue
Block a user