Skip to content

Commit ab91d14

Browse files
committed
Hello Minecraft 1.17
1 parent 693b73e commit ab91d14

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# FastInv
22
[![JitPack](https://jitpack.io/v/fr.mrmicky/FastInv.svg)](https://jitpack.io/#fr.mrmicky/FastInv)
3-
[![Discord](https://img.shields.io/discord/390919659874156560.svg?colorB=7289da&label=discord&logo=discord&logoColor=white)](https://discord.gg/q9UwaBT)
3+
[![Discord](https://img.shields.io/discord/390919659874156560.svg?colorB=5865f2&label=Discord&logo=discord&logoColor=white)](https://discord.gg/q9UwaBT)
44

55
Lightweight and easy-to-use inventory API for Bukkit plugins.
66

77
## Features
88
* Very small (less than 400 lines of code with the JavaDoc) and no dependencies
9-
* Works with all Bukkit versions from 1.7.10 to 1.16.
10-
* Supports custom inventories (size, title and type).
9+
* Works with all Bukkit versions from 1.7.10 to 1.17.
10+
* Supports custom inventories (size, title and type)
1111
* Easy to use
1212
* Option to prevent a player from closing the inventory
1313
* The Bukkit inventory can still be directly used
@@ -42,16 +42,14 @@ Lightweight and easy-to-use inventory API for Bukkit plugins.
4242
</plugin>
4343
</plugins>
4444
</build>
45-
```
46-
```xml
45+
4746
<repositories>
4847
<repository>
4948
<id>jitpack.io</id>
5049
<url>https://jitpack.io</url>
5150
</repository>
5251
</repositories>
53-
```
54-
```xml
52+
5553
<dependencies>
5654
<dependency>
5755
<groupId>fr.mrmicky</groupId>
@@ -66,18 +64,15 @@ Lightweight and easy-to-use inventory API for Bukkit plugins.
6664
plugins {
6765
id 'com.github.johnrengelman.shadow' version '6.1.0'
6866
}
69-
```
70-
```groovy
67+
7168
repositories {
7269
maven { url 'https://jitpack.io' }
7370
}
74-
```
75-
```groovy
71+
7672
dependencies {
7773
implementation 'fr.mrmicky:FastInv:3.0.3'
7874
}
79-
```
80-
```groovy
75+
8176
shadowJar {
8277
// Replace 'com.yourpackage' with the package of your plugin
8378
relocate 'fr.mrmicky.fastinv', 'com.yourpackage.fastinv'
@@ -103,7 +98,7 @@ public void onEnable() {
10398
### Creating an inventory class
10499

105100
Now you can create an inventory by make a class that extends `FastInv`, and add items in the constructor.
106-
You can also override `onClick`, `onClose` and `onOpen` if you need
101+
You can also override `onClick`, `onClose` and `onOpen` if you need.
107102

108103
Small example inventory:
109104

0 commit comments

Comments
 (0)