File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ You can then include the dependency in your project.
4343<dependency >
4444 <groupId >net.hypixel</groupId >
4545 <artifactId >mod-api</artifactId >
46- <version >1.0</version >
46+ <version >1.0.1 </version >
4747</dependency >
4848```
4949
5050``` gradle
5151dependencies {
52- implementation 'net.hypixel:mod-api:1.0'
52+ implementation 'net.hypixel:mod-api:1.0.1 '
5353}
5454```
5555
@@ -59,7 +59,7 @@ example in Fabric you would include the following in your `fabric.mod.json` file
5959``` json
6060{
6161 "depends" : {
62- "hypixel-mod-api" : " >=1.0"
62+ "hypixel-mod-api" : " >=1.0.1 "
6363 }
6464}
6565```
@@ -85,7 +85,7 @@ public class Example {
8585
8686public class Example {
8787 public void registerPacketHandler () {
88- HypixelModAPI . getInstance(). registerHandler (ClientboundLocationPacket . class, packet - > {
88+ HypixelModAPI . getInstance(). createHandler (ClientboundLocationPacket . class, packet - > {
8989 packet. getServerName();
9090 });
9191 }
You can’t perform that action at this time.
0 commit comments