Skip to content

Commit

Permalink
changed line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenkron committed Jun 13, 2016
1 parent 441a938 commit a2ed95c
Show file tree
Hide file tree
Showing 6 changed files with 1,077 additions and 1,077 deletions.
1,400 changes: 700 additions & 700 deletions LICENSE

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
**This is a branch for Minecraft 1.8**

Antique Atlas
=============

Antique Atlas is a book that acts like a map featuring infinite scrolling, zoom and custom labeled markers. The map is generated around the player by calculating the average biome in each 16x16 chunk.

Navigate the map by dragging it with the mouse, clicking arrow buttons or pressing arrow keys on the keyboard. Use the +/- keys or mouse wheel to zoom in and out.

You can export the map of the current dimension into a PNG image, see buttons on the right side of the GUI.

You can edit the configs to set which biome uses what texture, or even assign your own textures to any biome, including custom mod biomes. See tutorial on the wiki: https://github.com/Hunternif/AntiqueAtlas/wiki/Editing-Textures

API
===

If you are a mod developer and you wish to interact with AntiqueAtlas, you will need the source code of the API. You can include the whole source code of AntiqueAtlas (the `...-sources.jar` in [Releases](https://github.com/Hunternif/AntiqueAtlas/releases)) which allows you to test the interaction when debugging your mod.

Use the class `hunternif.mc.atlas.api.AtlasAPI` to obtain a reference to the API. There are 2 actual APIs: TileAPI and MarkerAPI. See javadocs/sources and the wiki for more: https://github.com/Hunternif/AntiqueAtlas/wiki/API
**This is a branch for Minecraft 1.8**

Antique Atlas
=============

Antique Atlas is a book that acts like a map featuring infinite scrolling, zoom and custom labeled markers. The map is generated around the player by calculating the average biome in each 16x16 chunk.

Navigate the map by dragging it with the mouse, clicking arrow buttons or pressing arrow keys on the keyboard. Use the +/- keys or mouse wheel to zoom in and out.

You can export the map of the current dimension into a PNG image, see buttons on the right side of the GUI.

You can edit the configs to set which biome uses what texture, or even assign your own textures to any biome, including custom mod biomes. See tutorial on the wiki: https://github.com/Hunternif/AntiqueAtlas/wiki/Editing-Textures

API
===

If you are a mod developer and you wish to interact with AntiqueAtlas, you will need the source code of the API. You can include the whole source code of AntiqueAtlas (the `...-sources.jar` in [Releases](https://github.com/Hunternif/AntiqueAtlas/releases)) which allows you to test the interaction when debugging your mod.

Use the class `hunternif.mc.atlas.api.AtlasAPI` to obtain a reference to the API. There are 2 actual APIs: TileAPI and MarkerAPI. See javadocs/sources and the wiki for more: https://github.com/Hunternif/AntiqueAtlas/wiki/API
200 changes: 100 additions & 100 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,101 +1,101 @@
// For those who want the bleeding edge
buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'

// For those who want the bleeding edge
buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'

version = mcversion + '-' + version_major + '.' + version_minor + '.' + version_patch
group= "hunternif.mc.atlas" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "antiqueatlas"

minecraft {
version = mcversion + '-' + forgeversion
if (file('../run').exists()) {
runDir = "../run"
} else {
runDir = "run"
}

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not allways work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20160606"
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

replace '@VERSION@', project.version
}

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

// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'

// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
// except that these dependencies get remapped to your current MCP mappings
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'

// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html

}

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'
}
}


task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'deobf'
}

/*
// Apparently this task exists in the new ForgeGradle
task sourceJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}*/

tasks.build.dependsOn('sourceJar', 'deobfJar')

artifacts {
archives deobfJar
archives sourceJar
}
group= "hunternif.mc.atlas" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "antiqueatlas"

minecraft {
version = mcversion + '-' + forgeversion
if (file('../run').exists()) {
runDir = "../run"
} else {
runDir = "run"
}

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not allways work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20160606"
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

replace '@VERSION@', project.version
}

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

// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'

// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
// except that these dependencies get remapped to your current MCP mappings
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'

// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html

}

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'
}
}


task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'deobf'
}

/*
// Apparently this task exists in the new ForgeGradle
task sourceJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}*/

tasks.build.dependsOn('sourceJar', 'deobfJar')

artifacts {
archives deobfJar
archives sourceJar
}
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mcversion=1.9.4
forgeversion=12.17.0.1954
version_major=4
version_minor=2
mcversion=1.9.4
forgeversion=12.17.0.1954
version_major=4
version_minor=2
version_patch=10
Loading

0 comments on commit a2ed95c

Please sign in to comment.