update forge, change modid, fix environment so it actually runs
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
#org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xmx3G
|
||||
|
||||
mod_group=nmd.primal.sample
|
||||
mod_name=PrimalSample
|
||||
mod_group=nmd.primal.lighting
|
||||
mod_name=GablesLighting
|
||||
mod_version=0.0.0
|
||||
mod_build=1
|
||||
|
||||
forge_version=13.20.0.2366
|
||||
forge_version=13.20.1.2388
|
||||
mcp_mappings=snapshot_20170610
|
||||
mc_version=1.11.2
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
package nmd.primal.lighting.client;
|
||||
package nmd.primal.gable.client;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import nmd.primal.gable.common.CommonProxy;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ClientProxy extends CommonProxy
|
||||
@@ -25,4 +30,4 @@ public class ClientProxy extends CommonProxy
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package nmd.primal.lighting.common;
|
||||
package nmd.primal.gable.common;
|
||||
|
||||
public class CommonProxy
|
||||
{
|
||||
@@ -19,4 +19,4 @@ public class CommonProxy
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package nmd.primal.lighting.common;
|
||||
package nmd.primal.gable.common;
|
||||
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.common.Mod.EventHandler;
|
||||
@@ -10,7 +10,7 @@ import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
|
||||
import net.minecraftforge.fml.common.network.NetworkRegistry;
|
||||
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
import nmd.primal.lighting.common.init.ModInfo;
|
||||
import nmd.primal.gable.common.init.ModInfo;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Locale;
|
||||
updateJSON = ModInfo.UPDATE_JSON
|
||||
)
|
||||
|
||||
public class PrimalSample
|
||||
public class GablesLighting
|
||||
{
|
||||
@Instance(ModInfo.MOD_ID)
|
||||
public static GablesLighting INSTANCE;
|
||||
@@ -72,15 +72,18 @@ public class PrimalSample
|
||||
// ***************************************************************************** //
|
||||
// helper methods
|
||||
// ***************************************************************************** //
|
||||
public static SimpleNetworkWrapper getNetwork() {
|
||||
public static SimpleNetworkWrapper getNetwork()
|
||||
{
|
||||
return NETWORK;
|
||||
}
|
||||
|
||||
public static CommonProxy getProxy() {
|
||||
public static CommonProxy getProxy()
|
||||
{
|
||||
return PROXY;
|
||||
}
|
||||
|
||||
public static Logger getLogger() {
|
||||
public static Logger getLogger()
|
||||
{
|
||||
return LOGGER;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package nmd.primal.lighting.common.init;
|
||||
package nmd.primal.gable.common.init;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
@@ -11,7 +12,7 @@ public class ModInfo
|
||||
// ***************************************************************************** //
|
||||
// Mod Details
|
||||
// ***************************************************************************** //
|
||||
public static final String MOD_ID = "lighting";
|
||||
public static final String MOD_ID = "gable";
|
||||
public static final String MOD_CONFIG = "primal/" + MOD_ID;
|
||||
public static final String MOD_VERSION = "@MOD_VERSION@";
|
||||
public static final String MC_VERSIONS = "[1.11.0, 1.12.0)";
|
||||
@@ -23,8 +24,8 @@ public class ModInfo
|
||||
// ***************************************************************************** //
|
||||
//public static final Marker MOD_MARKER = MarkerManager.getMarker(MOD_ID);
|
||||
//public static final String GUI_FACTORY = "nmd.primal.sample.client.gui.GuiFactory";
|
||||
public static final String COMMON_PROXY = "nmd.primal.lighting.common.CommonProxy";
|
||||
public static final String CLIENT_PROXY = "nmd.primal.lighting.client.ClientProxy";
|
||||
public static final String COMMON_PROXY = "nmd.primal.gable.common.CommonProxy";
|
||||
public static final String CLIENT_PROXY = "nmd.primal.gable.client.ClientProxy";
|
||||
public static final String UPDATE_JSON = "http://insecure.www.nmd.so/update-sample.json";
|
||||
|
||||
// ***************************************************************************** //
|
||||
@@ -44,4 +45,4 @@ public class ModInfo
|
||||
return new ItemStack(Blocks.GLOWSTONE);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,16 @@
|
||||
[
|
||||
{
|
||||
"modid": "examplemod",
|
||||
"name": "Example PrimalCore Sub-Mod",
|
||||
"description": "Example placeholder mod.",
|
||||
"modid": "gable",
|
||||
"name": "Elite Gable's Lighting",
|
||||
"description": "Adds lighting and more Gable-like blocks",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "",
|
||||
"updateUrl": "",
|
||||
"authorList": ["ExampleDude"],
|
||||
"authorList": ["EliteGable"],
|
||||
"credits": "The Forge and FML guys, for making this example",
|
||||
"logoFile": "",
|
||||
"screenshots": [],
|
||||
"dependencies": []
|
||||
}
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user