Mods are now loaded as resource packs. Vanilla will scan for valid prefixes based on subdirs of 'assets' which

can then be referenced as ResourceLocations with the "<prefix>:path" notation.
This commit is contained in:
Christian committed 2013-07-02 01:39:40 -04:00
1 parent efc369ee83
commit fbd57b3264
5 files changed
+39 -2

No files matched your search

@@ -27,6 +27,7 @@ import net.minecraft.world.World;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.IFMLSidedHandler;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.ModContainer;
import cpw.mods.fml.common.ObfuscationReflectionHelper;
import cpw.mods.fml.common.network.EntitySpawnAdjustmentPacket;
import cpw.mods.fml.common.network.EntitySpawnPacket;
@@ -189,4 +190,9 @@ public class FMLServerHandler implements IFMLSidedHandler
{
}
@Override
public void addModAsResource(ModContainer container)
{
// NOOP on server
}
}