From 3d17eb42809b793e3684d089a3d2bbfd748422cf Mon Sep 17 00:00:00 2001 From: Anthony Hilyard Date: Mon, 20 Sep 2021 14:47:21 -0700 Subject: Updated tooltip handling, added remote pre-item pickup event and network protocol. --- src/main/java/com/anthonyhilyard/iceberg/Loader.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/com/anthonyhilyard/iceberg/Loader.java') 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)); } -- cgit