Improve networked multiverse support

Also change "WorldChanged" -> "LevelChanged"
This commit is contained in:
James Seibel
2023-07-29 09:04:02 -05:00
parent 65ef693cb5
commit 9be69863ae
2 changed files with 69 additions and 21 deletions
@@ -28,6 +28,8 @@ public final class ModInfo
public static final String ID = "distanthorizons";
/** The internal protocol version used for networking */
public static final int PROTOCOL_VERSION = 1;
/** The protocol version used for multiverse networking */
public static final int MULTIVERSE_PLUGIN_PROTOCOL_VERSION = 1;
/** The internal mod name */
public static final String NAME = "DistantHorizons";
/** Human-readable version of NAME */
@@ -43,4 +45,8 @@ public final class ModInfo
/** This version should be updated whenever non-breaking fixes are added to the DH API */
public static final int API_PATH_VERSION = 0;
public static final String NETWORKING_RESOURCE_NAMESPACE = "distant_horizons";
public static final String MULTIVERSE_PLUGIN_NAMESPACE = "world_control";
}