Skip to content

Commit

Permalink
Readme update for maven
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtraCrafTX committed Jun 27, 2019
1 parent 1c06ecc commit efa1533
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@ A utility that allows for easy server-side-only additions to the game.

**This project is still very much a work in progress and as such nothing is final! Literally *everything* is still subject to major changes!**

### Usage
## Maven
```gradle
repositories {
maven { url "https://minecraft.curseforge.com/api/maven"}
}
dependencies {
modCompile "serveradditionsutil:ServerAdditionsUtil:{VERSION}"
}
```

## Usage
For basic usage, simply create new instances of or extend `ServerSideBlock`, `ServerSideBlockItem` and `ServerSideItem`. The blocks/items created will be able to be used by unmodded clients. The names and recipes of these blocks/items should be specified just like any other blocks/items.

For more advanced usage, Blocks may implement the interface `ClientBlockStateProvider` and Items may implement the interface `ClientItemStackProvider`. This should have the same effect.
Expand Down

0 comments on commit efa1533

Please sign in to comment.