-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
TehNut
committed
Feb 22, 2015
1 parent
20b31d0
commit f52d1e6
Showing
14 changed files
with
737 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# General use .gitignore for Minecraft modding. | ||
|
||
# Directories | ||
/.gradle/ | ||
/build/ | ||
/eclipse/ | ||
/run/ | ||
/out/ | ||
/asm/ | ||
/bin/ | ||
/.idea/ | ||
/.metadata/ | ||
/.settings/ | ||
/libs/ | ||
|
||
# File Extensions | ||
*.psd | ||
*.iml | ||
*.ipr | ||
*.iws | ||
*.classpath | ||
*.project | ||
*.class | ||
|
||
# Specific files | ||
Thumbs.db | ||
curse.gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
Minecraft Mod Public License | ||
============================ | ||
|
||
Version 2.0.2 | ||
|
||
0. Definitions | ||
-------------- | ||
|
||
**Game**: Computer software which provides diversion or amusement. Often a form of play. | ||
|
||
**Mod**: Software which modifies the Game, in any form (source, compiled binary, etc). | ||
|
||
**User**: Anyone who that interacts with the Game or the Mod in any way. | ||
|
||
**Dependency**: Software required for the Mod to execute, compile, or otherwise "work" correctly. | ||
|
||
**API**: Software intermediary for interaction with the Mod. | ||
|
||
**Derivative**: Software which includes any portion of the Mod other than the API, with modifications, additions, or subtractions. | ||
|
||
**Addon**: Software that extends the Mod, but is not a derivative. | ||
|
||
**Modpack**: A collection of mods and configuration files pre-tested to work when installed together. | ||
|
||
**Modpack Creator**: An individual who creates modpacks. | ||
|
||
**Author(s)**: Original Programmer or programmers responsible for writing the Mod. | ||
|
||
**Contributor**: Programmer or programmers who contribute code to the Mod, but are not the Author. | ||
|
||
**Codebase**: The Mod source code, complete with source history and Contributor records. | ||
|
||
**Distributor**: Anyone who distributes the compiled mod. | ||
|
||
1. Scope | ||
-------- | ||
|
||
The present license is granted to any User of the Mod. | ||
|
||
The User is expected to comply with any Game End User License Agreement (EULA) and/or Terms of Service (ToS) as it exists at the time the Mod is initially distributed. | ||
|
||
This license is separate from the license of any Mod it depends on and does not invalidate any license requirement of the dependency. | ||
|
||
2. Liability | ||
-------- | ||
|
||
The User accepts the following liability: | ||
- The Mod is provided 'as is' with no warranties, implied or otherwise. | ||
- The Author is not responsible for dragon, troll, pirate, or ninja attacks. | ||
- Slaying any and all mythological creatures is the sole responsibility of the User. | ||
- The Author takes no responsibility for any damages incurred from the use or misues of the Mod. | ||
- The Mod may alter fundamental parts of the Game. | ||
- The User is liable for all damages resulting from the use or misuse of the Mod. | ||
- The Author may not be held responsible for the incompetency or sadism of a Modpack Creator. | ||
|
||
3. Right to use | ||
-------- | ||
|
||
The User is allowed to install the Mod and play without restriction. | ||
The User may not limit access to the Mod in any way, except as provided by the Game. | ||
|
||
4. Right to examine | ||
-------- | ||
|
||
The User may decompile compiled binaries of the Mod. | ||
The User may examine the Mod's source code. | ||
|
||
5. Right to distribute | ||
-------- | ||
|
||
The Author reserves the right to distribute the Mod. | ||
The Author may designate a person or organization as a Distributor. | ||
A Distributor is granted the right to distribute the Mod. | ||
The Author may require that a Distributor provides a direct link to the Codebase. | ||
The User may not distribute the Mod without being granted distribution rights from the Author. | ||
The Author may revoke distribution rights from any Distributor. | ||
|
||
6. Right to contribute | ||
-------- | ||
|
||
The User may "fork" the Codebase. | ||
The User may compile the Codebase. | ||
The User may submit contributions to the Author for inclusion in the Mod. | ||
The User grants the Author all rights to any contribution. | ||
The User renounces all rights to their contribution except as specified under this license. | ||
The User retains the right to re-use code they've written. | ||
The Author may specify a Contributor License Agreement allowing a Contributor to retain some or all rights. | ||
|
||
7. Right to derive | ||
-------- | ||
|
||
The User may create Derivative(s) based on the Mod. | ||
A Derivative must contain changes which a reasonably informed person would consider significant. | ||
|
||
The User may distribute a Derivative if the following conditions are met: | ||
- The Derivative does not generate revenue. | ||
- The Derivative provides credit to the Author. | ||
- The Derivative complies with the Mod license. | ||
|
||
8. Right to distribute addons | ||
-------- | ||
|
||
The User may develop non-Derivative Addons. | ||
An Addon may include the Mod API without being considered a Derivative. | ||
The Addon may be distributed under a different license. | ||
|
||
9. Right to create Modpack(s) | ||
-------- | ||
|
||
The User may create Modpack(s) which include the Mod. | ||
A Modpack Creator is granted the right to distribute the Mod as part of a Modpack. | ||
|
||
Modpacks containing the Mod may not be used to generate revenue unless specifically granted this right by the Author. | ||
|
||
10. Author responsibilities | ||
-------- | ||
|
||
The Author must make the Mod source freely and publically available. | ||
|
||
11. Author rights | ||
-------- | ||
|
||
The Author may grant a User the status of Contributor or Author. | ||
The Author retains the right to the Mod name. | ||
The Author may change the Mod license, but cannot do so retroactively. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ChiselTones | ||
|
||
Chisel compatibility for ZTones blocks. | ||
|
||
##Variation Modes | ||
|
||
Currently, there are 2 modes to choose from when adding variations: | ||
|
||
###Mode 0 | ||
Allow chiseling of the Ztones Tile into each of the different types Ztones adds at a meta of 0. Then you cycle through from there. This makes the crafting recipes useless. | ||
|
||
 | ||
|
||
--- | ||
|
||
###Mode 1 | ||
Allow chiseling between all the blocks within their type. This requires the user to still craft the type, but makes the cycling useless. | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
maven { url = "http://files.minecraftforge.net/maven" } | ||
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" } | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' | ||
classpath 'org.ajoberstar:gradle-git:0.10.1' | ||
} | ||
} | ||
|
||
apply plugin: 'forge' | ||
apply plugin: 'maven-publish' | ||
|
||
def build_number = 'CUSTOM' | ||
|
||
if (System.getenv('BUILD_NUMBER') != null) | ||
build_number = System.getenv('BUILD_NUMBER') | ||
|
||
group = package_group | ||
archivesBaseName = mod_name | ||
version = "${mc_version}-${mod_version}-${build_number}" | ||
|
||
import org.ajoberstar.grgit.Grgit | ||
|
||
def gitHash = 'unknown' | ||
if (new File(projectDir, '.git').exists()) { | ||
def repo = Grgit.open(project.file('.')) | ||
gitHash = repo.log().find().abbreviatedId | ||
} | ||
|
||
repositories { | ||
maven { url = "http://coloredlightscore.us.to/maven/chisel-2-dev/" } | ||
} | ||
|
||
dependencies { | ||
compile "com.cricketcraft.chisel:Chisel2:${chisel_version}:deobf" | ||
} | ||
|
||
minecraft { | ||
version = "${mc_version}-${forge_version}" | ||
runDir = "run" | ||
|
||
if (project.hasProperty('mappings_version')) | ||
mappings = project.mappings_version | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
|
||
from(sourceSets.main.resources.srcDirs) { | ||
include '**/*.info' | ||
include '**/*.properties' | ||
|
||
expand 'version': project.version, 'mcversion': project.minecraft.version | ||
} | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude '**/*.info' | ||
exclude '**/*.properties' | ||
} | ||
} | ||
|
||
jar { | ||
classifier = '' | ||
manifest.mainAttributes( | ||
"Built-By": System.getProperty('user.name'), | ||
"Created-By": "${System.getProperty('java.vm.version')} + (${System.getProperty('java.vm.vendor')})", | ||
"Implementation-Title": project.name, | ||
"Implementation-Version": project.version, | ||
"Git-Hash": gitHash | ||
) | ||
} | ||
|
||
// add a source jar | ||
task sourceJar(type: Jar) { | ||
from sourceSets.main.allSource | ||
classifier = 'sources' | ||
} | ||
|
||
// add a javadoc jar | ||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
from javadoc.destinationDir | ||
classifier = 'javadoc' | ||
} | ||
|
||
// because the normal output has been made to be obfuscated | ||
task deobfJar(type: Jar) { | ||
from sourceSets.main.output | ||
classifier = 'deobf' | ||
} | ||
|
||
tasks.build.dependsOn sourceJar, javadocJar, deobfJar | ||
|
||
tasks.withType(JavaCompile) { task -> | ||
task.options.encoding = 'UTF-8' | ||
} | ||
|
||
publishing { | ||
tasks.publish.dependsOn 'build' | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
artifact sourceJar | ||
artifact javadocJar | ||
artifact deobfJar | ||
} | ||
} | ||
repositories { | ||
if (project.hasProperty('maven_repo')) { | ||
maven { url maven_repo } | ||
} else { | ||
mavenLocal() | ||
} | ||
} | ||
} | ||
|
||
fileTree('gradle').include('curse.gradle').collect().sort().each { | ||
apply from: it | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
mod_name=ChiselTones | ||
package_group=info.tehnut.chiseltones | ||
|
||
mc_version=1.7.10 | ||
forge_version=latest | ||
#Uncomment the following line to use MCP Snapshots | ||
#mappings_version= | ||
|
||
chisel_version=2.3.7.4ac7f01 | ||
|
||
mod_version=1.0 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Fri Sep 26 11:20:52 CDT 2014 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip |
Oops, something went wrong.