Allow the mod to be loaded in a dedicated server environment
This commit is contained in:
@@ -15,6 +15,7 @@ import org.apache.logging.log4j.Logger;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModCompat {
|
public class ReplayModCompat {
|
||||||
public static final String MOD_ID = "replaymod-compat";
|
public static final String MOD_ID = "replaymod-compat";
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ import java.util.Queue;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
updateJSON = "https://raw.githubusercontent.com/ReplayMod/ReplayMod/master/versions.json",
|
updateJSON = "https://raw.githubusercontent.com/ReplayMod/ReplayMod/master/versions.json",
|
||||||
guiFactory = "com.replaymod.core.gui.GuiFactory")
|
guiFactory = "com.replaymod.core.gui.GuiFactory")
|
||||||
public class ReplayMod {
|
public class ReplayMod {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import org.apache.logging.log4j.Logger;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModEditor {
|
public class ReplayModEditor {
|
||||||
public static final String MOD_ID = "replaymod-editor";
|
public static final String MOD_ID = "replaymod-editor";
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import java.util.Optional;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModExtras {
|
public class ReplayModExtras {
|
||||||
public static final String MOD_ID = "replaymod-extras";
|
public static final String MOD_ID = "replaymod-extras";
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ import static net.minecraft.client.Minecraft.getMinecraft;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModOnline {
|
public class ReplayModOnline {
|
||||||
public static final String MOD_ID = "replaymod-online";
|
public static final String MOD_ID = "replaymod-online";
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import org.lwjgl.input.Keyboard;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModRecording {
|
public class ReplayModRecording {
|
||||||
public static final String MOD_ID = "replaymod-recording";
|
public static final String MOD_ID = "replaymod-recording";
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import java.util.List;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModRender {
|
public class ReplayModRender {
|
||||||
public static final String MOD_ID = "replaymod-render";
|
public static final String MOD_ID = "replaymod-render";
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import java.util.Optional;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModReplay {
|
public class ReplayModReplay {
|
||||||
public static final String MOD_ID = "replaymod-replay";
|
public static final String MOD_ID = "replaymod-replay";
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import org.lwjgl.input.Keyboard;
|
|||||||
version = "@MOD_VERSION@",
|
version = "@MOD_VERSION@",
|
||||||
acceptedMinecraftVersions = "@MC_VERSION@",
|
acceptedMinecraftVersions = "@MC_VERSION@",
|
||||||
acceptableRemoteVersions = "*",
|
acceptableRemoteVersions = "*",
|
||||||
|
clientSideOnly = true,
|
||||||
useMetadata = true)
|
useMetadata = true)
|
||||||
public class ReplayModSimplePathing {
|
public class ReplayModSimplePathing {
|
||||||
public static final String MOD_ID = "replaymod-simplepathing";
|
public static final String MOD_ID = "replaymod-simplepathing";
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"package": "com.replaymod.render.mixin",
|
"package": "com.replaymod.render.mixin",
|
||||||
"mixins": [
|
"mixins": [],
|
||||||
|
"server": [],
|
||||||
|
"client": [
|
||||||
"MixinEffectRenderer",
|
"MixinEffectRenderer",
|
||||||
"MixinEntityRenderer",
|
"MixinEntityRenderer",
|
||||||
"MixinFrustum",
|
"MixinFrustum",
|
||||||
@@ -10,8 +12,6 @@
|
|||||||
"MixinRenderGlobal",
|
"MixinRenderGlobal",
|
||||||
"MixinRenderManager"
|
"MixinRenderManager"
|
||||||
],
|
],
|
||||||
"server": [],
|
|
||||||
"client": [],
|
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"minVersion": "0.6.11",
|
"minVersion": "0.6.11",
|
||||||
"refmap": "mixins.replaymod.refmap.json"
|
"refmap": "mixins.replaymod.refmap.json"
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"package": "com.replaymod.replay.mixin",
|
"package": "com.replaymod.replay.mixin",
|
||||||
"mixins": [
|
"mixins": [],
|
||||||
|
"server": [],
|
||||||
|
"client": [
|
||||||
"MixinGuiSpectator",
|
"MixinGuiSpectator",
|
||||||
"MixinPlayerControllerMP",
|
"MixinPlayerControllerMP",
|
||||||
"MixinRenderArrow",
|
"MixinRenderArrow",
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
"MixinViewFrustum",
|
"MixinViewFrustum",
|
||||||
"MixinWorldClient"
|
"MixinWorldClient"
|
||||||
],
|
],
|
||||||
"server": [],
|
|
||||||
"client": [],
|
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"minVersion": "0.6.11",
|
"minVersion": "0.6.11",
|
||||||
"refmap": "mixins.replaymod.refmap.json"
|
"refmap": "mixins.replaymod.refmap.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user