diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-09-20 14:47:21 -0700 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-09-20 14:47:21 -0700 |
commit | 3d17eb42809b793e3684d089a3d2bbfd748422cf (patch) | |
tree | 712892544201ea9240e9d2650198b85db89bcaee /src/main/java/com/anthonyhilyard/iceberg/Loader.java | |
parent | b8f63f66ddf9915bf8fc4f261339f603b2a63222 (diff) | |
download | Iceberg-3d17eb42809b793e3684d089a3d2bbfd748422cf.tar.gz Iceberg-3d17eb42809b793e3684d089a3d2bbfd748422cf.tar.bz2 Iceberg-3d17eb42809b793e3684d089a3d2bbfd748422cf.zip |
Updated tooltip handling, added remote pre-item pickup event and network
protocol.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/Loader.java')
-rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/Loader.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/Loader.java b/src/main/java/com/anthonyhilyard/iceberg/Loader.java index b1ff65a..38aa9c1 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/Loader.java +++ b/src/main/java/com/anthonyhilyard/iceberg/Loader.java @@ -1,5 +1,7 @@ package com.anthonyhilyard.iceberg; +import com.anthonyhilyard.iceberg.network.IcebergNetworkProtocol; + import org.apache.commons.lang3.tuple.Pair; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -31,6 +33,10 @@ public class Loader { new IcebergServer(); } + + // Register the network protocol. + IcebergNetworkProtocol.register(); + ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.DISPLAYTEST, () -> Pair.of(() -> FMLNetworkConstants.IGNORESERVERONLY, (a, b) -> true)); } |