Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b40f1d6
Mostly Greadlized. Just some really strange bugs to figure out :/
Matchlighter Apr 12, 2014
36c58fb
Merge remote-tracking branch 'origin/master' into gradle
Matchlighter Jun 6, 2014
5504f1e
Created a delegating item
Matchlighter Jun 26, 2014
30349e9
Minor correction.
Matchlighter Jun 26, 2014
0a61954
Expanded Delegating items a bit. Fixed a majore bug with retro gen.
Matchlighter Jun 26, 2014
557f574
Added getSubItems method to ItemDelegating. Fixec CME bug with retorgen.
Matchlighter Jun 27, 2014
6ea6d0a
Updated the license, updated a couple parameter names.
Matchlighter Jun 28, 2014
814f477
Added a meta range to DelegateBlocks.
Matchlighter Jun 29, 2014
3f86a7b
SideOnly-ified Delagate stuff. Fixed inventory getIcon bug.
Matchlighter Jun 29, 2014
9171d81
Minore fixes and improvements to Guis. Fixed a bug with Delegate item…
Matchlighter Jun 30, 2014
2be425a
Bump version
Matchlighter Jun 30, 2014
88a1ef1
Removed an old enum. Added a couple constructors to ControlSlot. Impl…
Matchlighter Jun 30, 2014
9bb6380
Added partialTicks to gui rendering. Made animation on GuiTabs/Ledger…
Matchlighter Jun 30, 2014
6069fef
Added basic visibility to GuiElements.
Matchlighter Jun 30, 2014
11a7ad5
Added support for hiding NEI in Guis. Fixed client/server environment…
Matchlighter Jul 1, 2014
735d4a7
Added classes for working with structures. Mostly pulled up from SGWo…
Matchlighter Jul 9, 2014
bad9d2f
Changed meta values in DelegateBlock to be passed as subMeta values.
Matchlighter Jul 9, 2014
266f348
1.7.2 Port work
Matchlighter Jul 9, 2014
59a6dbe
Added some controls. Added ToolTips. Fixed visibility check. Fixed mi…
Matchlighter Jul 11, 2014
8218715
Moved Book classes from SGWorlds. Added a queue feature for Contasine…
Matchlighter Jul 12, 2014
29707cc
Added hasEffect to ItemDelegates. Added support for Booleans in NBTUt…
Matchlighter Jul 13, 2014
0b7a516
Worked on 1.7.2 port.
Matchlighter Jul 16, 2014
f350aef
Merge remote-tracking branch 'recraft/master' into 1.7.2
Matchlighter Jul 17, 2014
765d23b
Merge branch 'master' into 1.7.2
Matchlighter Jul 17, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
*.blend1
*.blend2

.settings
build/
eclipse/
bin/

.classpath
.project

/*
!/.gitignore
!/gradle/
Expand All @@ -7,4 +18,5 @@
!/src/*
!/*.gradle
!/*.md
.gradle

.gradle/
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ MLCore
A 'Library' of commonly used functions and class for my mods.

##License##
* You may use my code to learn.
* You may distribute MLCore in any mod packs without my permission; however, I would like to be notified..
* You may also create derivatives for _private_ (includes server modpacks) use.
* You may not publish derivatives of MLCore without my permission. PRs are preferred.
* You may use MLCore in your mod as long as you notify me and give me credit.
* You may link _directly_ to the download of MLCore if your mod requires it.
Released under the Creative Commons `BY-NC-SA` License.
Available at http://creativecommons.org/licenses/by-nc-sa/4.0/
71 changes: 33 additions & 38 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,44 @@ buildscript {
}
}

repositories {
ivy {
name 'Forge FS legacy'
artifactPattern "http://files.minecraftforge.net/[module]/[module]-dev-[revision].[ext]"
}
maven {
name 'CB Repo'
url "http://chickenbones.net/maven/"
}
maven {
name 'ForgeFS'
url 'http://files.minecraftforge.net/maven'
}
}

apply plugin: 'forge'

version = "1.0"
group= "ml" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
file "build.properties" withReader {
def prop = new Properties()
prop.load(it)
ext.config = new ConfigSlurper().parse prop
}

version = "${config.mlcore.version}"
group = "ml"
archivesBaseName = "MLCore"

minecraft {
version = "1.7.2-10.12.2.1147"
assetDir = "run/assets"
}
if (System.getenv("BUILD_NUMBER") != null)
version += ".${System.getenv("BUILD_NUMBER")}"

dependencies {
// you may put jars on which you depend on in ./libs
// or you may define them like so..
//compile "some.group:artifact:version:classifier"
//compile "some.group:artifact:version"

// real examples
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env

// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
ext.simpleVersion = version
version = "MC${config.minecraft.version}-${project.version}"

dependencies {
compile "codechicken:NotEnoughItems:${config.minecraft.version}-${config.NEI.version}:dev"
}

processResources
{
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}

// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
apply from: 'gradle/forge.gradle'
apply from: 'gradle/artifact.gradle'
apply from: 'gradle/release.gradle'

8 changes: 6 additions & 2 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
MLCore.version=0.8.1
minecraft.version = 1.6.4
minecraft.version=1.7.2
forge.version=10.12.2.1121
CCLIB.version=1.0.1.7
NEI.version=1.0.2.14
mlcore.version=0.8.2
maven.url=file:///media/storage/Minecraft/web/maven
145 changes: 0 additions & 145 deletions build.xml

This file was deleted.

63 changes: 0 additions & 63 deletions getversion.py

This file was deleted.

39 changes: 39 additions & 0 deletions gradle/artifact.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
jar {
classifier = 'universal'
manifest {
attributes FMLCorePlugin: "ml.core.MLCore"
attributes FMLCorePluginContainsFMLMod: "true"
}
}

javadoc {
include 'ml/core/api/**'
}

// because the normal default jar task has been modified to be obfuscated
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'deobf'
manifest {
attributes FMLCorePlugin: "ml.core.MLCore"
attributes FMLCorePluginContainsFMLMod: "true"
}
}

task apiJar(type: Jar) {
from sourceSets.main.output
from sourceSets.main.java
classifier = 'api'
include 'li/cil/oc/api/**'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
from 'build/docs/javadoc'
classifier 'javadoc'
}

artifacts {
archives deobfJar
//archives apiJar
//archives javadocJar
}
14 changes: 14 additions & 0 deletions gradle/forge.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

minecraft {
version = "${config.minecraft.version}-${config.forge.version}"
}

processResources {
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.simpleVersion, 'mcversion': config.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
Loading