You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,13 @@ You can then include the dependency in your project.
49
49
<dependency>
50
50
<groupId>net.hypixel</groupId>
51
51
<artifactId>mod-api</artifactId>
52
-
<version>0.3.3</version>
52
+
<version>0.4.0</version>
53
53
</dependency>
54
54
```
55
55
56
56
```gradle
57
57
dependencies {
58
-
implementation 'net.hypixel:mod-api:0.3.3'
58
+
implementation 'net.hypixel:mod-api:0.4.0'
59
59
}
60
60
```
61
61
@@ -64,7 +64,7 @@ Depending on your chosen mod loader, you will need to also include the `hypixel-
64
64
```json
65
65
{
66
66
"depends": {
67
-
"hypixel-mod-api": ">=0.3.3"
67
+
"hypixel-mod-api": ">=0.4.0"
68
68
}
69
69
}
70
70
```
@@ -98,3 +98,15 @@ public class Example {
98
98
}
99
99
}
100
100
```
101
+
102
+
### Subscribing to a packet event
103
+
104
+
If you wish to receive a specific event packet, you will need to subscribe to the event. Once subscribed you can register a packet handler as normal (see example above).
0 commit comments