1
0
mirror of https://github.com/chylex/Resource-Pack-Organizer.git synced 2025-01-07 16:42:51 +01:00

Update to 1.11 and fix mod id

This commit is contained in:
chylex 2016-11-19 14:51:46 +01:00
parent 45a459911a
commit 567960efb8
6 changed files with 15 additions and 8 deletions
build.gradle
src/main
java/chylex/respack
resources
assets/resourcepackorganizer/textures/gui
mcmod.info

View File

@ -13,14 +13,20 @@ buildscript{
apply plugin: 'net.minecraftforge.gradle.forge'
sourceCompatibility = targetCompatibility = 1.6
compileJava{
sourceCompatibility = targetCompatibility = 1.6
}
minecraft{
version = "1.10-12.18.0.1986-1.10.0"
version = "1.11-13.19.0.2153"
runDir = "run"
mappings = "snapshot_20160518"
mappings = "snapshot_20161118"
makeObfSourceJar = false
}
String modid = ""
String modname = ""
String modver = ""
processResources{
@ -28,10 +34,10 @@ processResources{
def slurp = new groovy.json.JsonSlurper()
def data = slurp.parseText(info.getText())[0]
modid = data.modid
modname = data.name.replaceAll(" ", "")
modver = data.version
}
jar{
archiveName = modid+" MC-"+project.minecraft.version+" v"+modver+".jar"
archiveName = modname+" MC-"+project.minecraft.version+" v"+modver+".jar"
}

View File

@ -22,7 +22,7 @@ import chylex.respack.repository.ResourcePackRepositoryCustom;
@Mod(modid = ResourcePackOrganizer.MODID, name = ResourcePackOrganizer.MODNAME, useMetadata = true, guiFactory = "chylex.respack.gui.GuiModConfig")
public final class ResourcePackOrganizer{
public static final String MODID = "ResourcePackOrganizer";
public static final String MODID = "resourcepackorganizer";
public static final String MODNAME = "Resource Pack Organizer";
private static ConfigHandler config;

View File

@ -22,6 +22,7 @@ public final class GuiModConfig implements IModGuiFactory{
return null;
}
@SuppressWarnings("deprecation")
@Override
public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element){
return null;

View File

@ -8,7 +8,7 @@ import chylex.respack.gui.GuiUtils;
@SideOnly(Side.CLIENT)
public class ResourcePackListEntryFolder extends ResourcePackListEntryCustom{
private static final ResourceLocation folderResource = new ResourceLocation("betterresourcepacks:textures/gui/folder.png"); // http://www.iconspedia.com/icon/folion-icon-27237.html
private static final ResourceLocation folderResource = new ResourceLocation("resourcepackorganizer:textures/gui/folder.png"); // http://www.iconspedia.com/icon/folion-icon-27237.html
private final GuiCustomResourcePacks ownerScreen;

View File

@ -1,6 +1,6 @@
[
{
"modid": "ResourcePackOrganizer",
"modid": "resourcepackorganizer",
"name": "Resource Pack Organizer",
"description": "Enhances the Resource Pack menu by adding folder support for easier pack organization, ability to search packs by name or description, new sorting options, and quick refresh button directly in the GUI.\n\nThe mod uses a folder icon by FatCow under the CC BY 3.0 US license: http://fatcow.com/free-icons",
"version": "1.0.3",