Improved readme.
This commit is contained in:
parent
afad438104
commit
affe220bd1
16
README.md
16
README.md
|
@ -1,2 +1,18 @@
|
||||||
# RandomHotbar
|
# RandomHotbar
|
||||||
Utility for randomizing chosen items on a minecraft hotbar.
|
Utility for randomizing chosen items on a minecraft hotbar.
|
||||||
|
|
||||||
|
Simply download the latest version from the [releases page](https://github.com/andrewlalis/RandomHotbar/releases), then run it like so:
|
||||||
|
|
||||||
|
```
|
||||||
|
java -jar RandomHotbar.jar <settings>
|
||||||
|
```
|
||||||
|
|
||||||
|
Where `<settings>` is a specification of how likely it should be to select each hotbar slot. Each setting is specified as `<slot>:<probability>` Here are some examples:
|
||||||
|
- I want to select slots 1, 2, and 3, all with equal probability: `1:1, 2:1, 3:1`
|
||||||
|
- I want to select 5x as much of slot 2 as slot 1: `1:1, 2:5`
|
||||||
|
- I want half as much of slot 1, as slots 2 and 3: `1:0.5, 2:1, 3:1`
|
||||||
|
|
||||||
|
For example:
|
||||||
|
```
|
||||||
|
java -jar RandomHotbar.jar 1:1, 2:1, 3:1.5, 4:0.75
|
||||||
|
```
|
||||||
|
|
6
pom.xml
6
pom.xml
|
@ -11,14 +11,10 @@
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>com.formdev</groupId>
|
|
||||||
<artifactId>flatlaf</artifactId>
|
|
||||||
<version>2.0.2</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.kwhat</groupId>
|
<groupId>com.github.kwhat</groupId>
|
||||||
<artifactId>jnativehook</artifactId>
|
<artifactId>jnativehook</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue