Fix environment for 1.13

This commit is contained in:
Matthew Messinger 2019-03-24 19:29:56 -04:00
parent 8589d2d93a
commit 0d0c0a9854
4 changed files with 73 additions and 16 deletions

View file

@ -108,7 +108,7 @@ sourceSets {
} }
minecraft { minecraft {
mappings channel: 'snapshot', version: project.mappings_version mappings channel: project.mappings_channel, version: project.mappings_version + "-" + project.minecraft_version
runs { runs {
client { client {
@ -137,6 +137,13 @@ minecraft {
// replace '@VERSION@', project.version // replace '@VERSION@', project.version
} }
repositories {
// jcenter()
maven {
url = 'https://repo.spongepowered.org/maven'
}
}
dependencies { dependencies {
minecraft 'net.minecraftforge:forge:1.13.2-25.0.90' minecraft 'net.minecraftforge:forge:1.13.2-25.0.90'
@ -163,7 +170,7 @@ jar {
from sourceSets.client.output from sourceSets.client.output
from sourceSets.fml.output from sourceSets.fml.output
replace '@VERSION@', project.version // replace '@VERSION@', project.version
classifier 'base' classifier 'base'
extension 'jar' extension 'jar'
@ -185,8 +192,9 @@ task copyBGPones(type: Copy) {
} }
} }
/*
shadowJar { shadowJar {
classifier "mc$minecraft.version" // classifier "mc$minecraft.version"
from sourceSets.common.output from sourceSets.common.output
@ -201,7 +209,7 @@ shadowJar {
into "/assets/minelittlepony/textures/entity/pony" into "/assets/minelittlepony/textures/entity/pony"
} }
replace '@VERSION@', project.version // replace '@VERSION@', project.version
dependencies { dependencies {
exclude dependency('deobf.org.ow2.asm:') exclude dependency('deobf.org.ow2.asm:')
@ -228,27 +236,28 @@ task srgJar(type: Jar) {
from sourceSets.hdskins.output from sourceSets.hdskins.output
replace '@VERSION@', project.version // replace '@VERSION@', project.version
classifier "mc$minecraft.version-srg" classifier "mc$minecraft.version-srg"
} }
*/
task horseLib(type: Jar) { task horseLib(type: Jar) {
from sourceSets.common.output from sourceSets.common.output
from sourceSets.main.output from sourceSets.main.output
replace '@VERSION@', project.version // replace '@VERSION@', project.version
baseName = "HoarseLib" baseName = "HoarseLib"
} }
sourceJar.enabled = false //sourceJar.enabled = false
reobf { //reobf {
srgJar { // srgJar {
mappingType = 'SEARGE' // mappingType = 'SEARGE'
} // }
//
shadowJar{} // shadowJar{}
} //}

View file

@ -8,5 +8,6 @@ description_mlp=Mine Little Pony turns players and mobs into ponies. Press F9 in
description_hd=Separate skin server for Mine Little Pony that also supports HD skins. Access via button on the main menu. description_hd=Separate skin server for Mine Little Pony that also supports HD skins. Access via button on the main menu.
version=3.2 version=3.2
release=SNAPSHOT release=SNAPSHOT
minecraft_version=1.12.2 minecraft_version=1.13.2
mappings_version=stable_39 mappings_channel=snapshot
mappings_version=20190324

View file

@ -0,0 +1,40 @@
modLoader="javafml"
loaderVersion="[25,)"
issueTrackerURL="http://github.com/MineLittlePony/MineLittlePony/issues/"
# A list of mods - how many allowed here is determined by the individual mod loader
[[mods]] #mandatory
modId="minelittlepony"
version="${file.jarVersion}"
displayName="MineLittlePony"
#updateJSONURL="http://myurl.me/" #optional
displayURL="http://minelittlepony-mod.com/"
#logoFile="examplemod.png" #optional
credits="Thanks for this example mod goes to Java" #optional
authors="Love, Cheese and small house plants" #optional
description='''
This is a long form description of the mod. You can write whatever you want here
Have some lorem ipsum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
'''
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
[[dependencies.examplemod]] #optional
# the modid of the dependency
modId="forge" #mandatory
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
# The version range of the dependency
versionRange="[90,)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER
side="BOTH"
# Here's another dependency
[[dependencies.examplemod]]
modId="minecraft"
mandatory=true
versionRange="[1.13.2]"
ordering="NONE"
side="BOTH"

View file

@ -0,0 +1,7 @@
{
"pack": {
"description": "minelittlepony resources",
"pack_format": 4,
"_comment": "A pack_format of 4 requires json lang files. Note: we require v4 pack meta for all mods."
}
}