Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reoseah authored Dec 18, 2018
1 parent 96b1472 commit a15141a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ This is a minimal Rift project. The only use of it is to be copied to start a ne
./gradlew build
```

- Running Server under Eclipse:<br>
Open *Launch Configurations*, select *yourmod*\_client, switch to *Arguments* tab, change program arguments from `...Client...` to `...Server...`:
```
--tweakClass org.dimdev.riftloader.launch.RiftLoaderServerTweaker
```

## Getting started

Important files in MDK:
Expand Down Expand Up @@ -84,7 +90,21 @@ From there, you'll probably want to change a few things:
```
This description is shown at *Select Resource Packs* screen. If mod doesn't have any resources, you can safely delete this file.
## Examples
## Snippets
- Changing `src/main/java` to `src` and `src/main/resources` to `resources`:
```gradle
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
}
}
```
- Simple blocks and items:
```java
Expand Down

0 comments on commit a15141a

Please sign in to comment.