mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 06:43:01 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
399cbe76aa | ||
|
|
25077b70c0 | ||
|
|
0ca43106f3 | ||
|
|
28acd83b5b | ||
|
|
b14153f46b | ||
|
|
b46d49e269 | ||
|
|
619c585fa2 | ||
|
|
0fecf28b65 | ||
|
|
980df8516a | ||
|
|
cddada359b | ||
|
|
9b30535265 | ||
|
|
7456c20fb5 | ||
|
|
73bbe09c6b | ||
|
|
bb0db68866 | ||
|
|
c781dd4231 | ||
|
|
91e7a95fbc | ||
|
|
6ce578c7cb | ||
|
|
7cac8bdd7d | ||
|
|
e77a74544d | ||
|
|
6ec2fe0d3d | ||
|
|
80cb4c94d6 | ||
|
|
2f971ac8e3 | ||
|
|
7d63503645 | ||
|
|
42d1bd07e1 | ||
|
|
6d05bc4dfe | ||
|
|
028f5ef031 | ||
|
|
805553e04e | ||
|
|
facff8752d | ||
|
|
63f04556e2 | ||
|
|
d229201b90 | ||
|
|
5869418115 | ||
|
|
2e2b2ef941 | ||
|
|
be6fc768f8 | ||
|
|
9a1a1bbf3f | ||
|
|
a97a032210 | ||
|
|
956fb3dca8 | ||
|
|
cf16727366 | ||
|
|
93a0751493 | ||
|
|
14115778d0 | ||
|
|
cb5ba100bf | ||
|
|
6c0f4cffa0 | ||
|
|
91fb7afded | ||
|
|
96d86b67f9 | ||
|
|
0e82f8617b | ||
|
|
cb086bbb11 | ||
|
|
3fa79927a4 | ||
|
|
9ad8b01686 | ||
|
|
3467c41bef | ||
|
|
ac7b3e0b7d | ||
|
|
31cd1cb543 | ||
|
|
860162cb6f | ||
|
|
16c7a830a6 | ||
|
|
dccd62b33a | ||
|
|
03e9deebdc | ||
|
|
62438e890a | ||
|
|
37bb2991a3 | ||
|
|
d4ec5b5ec3 | ||
|
|
56e8993f03 | ||
|
|
e2f20373e6 | ||
|
|
b7d30223a0 | ||
|
|
7b5782af5d | ||
|
|
6378580b31 | ||
|
|
108966a079 | ||
|
|
8724b77039 | ||
|
|
5c7d87498c | ||
|
|
2f9c2746b4 | ||
|
|
e91f77ca96 | ||
|
|
d18f9730a8 | ||
|
|
cbbd68031b | ||
|
|
47942e17e3 | ||
|
|
6ab4c94ed8 | ||
|
|
3f724c34ad | ||
|
|
38d769e384 | ||
|
|
9048436bf1 | ||
|
|
3ac6826e6c | ||
|
|
be9af968b9 | ||
|
|
30d0534377 | ||
|
|
9c4f0034fb | ||
|
|
b97d3e1d27 | ||
|
|
28535c1d72 | ||
|
|
44114660b1 | ||
|
|
f2e17fab72 | ||
|
|
21ce8e85c6 | ||
|
|
501360c92b | ||
|
|
022137be62 | ||
|
|
4d98a5691a | ||
|
|
3fcf1a13f4 | ||
|
|
5cc45ee0cb | ||
|
|
a37234c719 | ||
|
|
bc0f99cd33 | ||
|
|
0166b8b26c | ||
|
|
2c7c28bbc3 | ||
|
|
8ee577a958 | ||
|
|
c2dee6e1c1 | ||
|
|
3aef354b3a | ||
|
|
0b8b56a74b | ||
|
|
58e387e761 | ||
|
|
3fdaf92d12 | ||
|
|
f2fb61feb0 | ||
|
|
381896031b | ||
|
|
6a5fc496df | ||
|
|
7b6ec78cd7 | ||
|
|
a39ac3bd74 | ||
|
|
ba138b6eb2 | ||
|
|
17dc565ece | ||
|
|
93d5267079 | ||
|
|
eacb287f6b | ||
|
|
a0eb5802bd | ||
|
|
296c45f510 | ||
|
|
427c2ce5d1 | ||
|
|
797bde4868 | ||
|
|
bb33f0b7d2 | ||
|
|
bcc6623337 | ||
|
|
3dcd5c43b6 | ||
|
|
8a0861589b | ||
|
|
170a499cab | ||
|
|
68c9653932 | ||
|
|
7c36996fe3 | ||
|
|
38e1e81049 | ||
|
|
c80a774da7 | ||
|
|
2b38ed2f2b | ||
|
|
42340fde1c | ||
|
|
9bdb607fb4 | ||
|
|
e34b5adec6 | ||
|
|
3f8d860b95 | ||
|
|
4cbc62afb0 | ||
|
|
e5d1f1637c | ||
|
|
a499a47d9f | ||
|
|
bcc09e1a0e | ||
|
|
051b799fe8 | ||
|
|
a5fe149a4c | ||
|
|
5dedb54b26 | ||
|
|
0f669ce9fd | ||
|
|
b5349fccbe | ||
|
|
084d48e1a4 | ||
|
|
e4930a84b7 | ||
|
|
48176bc708 | ||
|
|
5e20f177f1 | ||
|
|
25e64459bb | ||
|
|
7d8c08bf72 | ||
|
|
a402869c01 | ||
|
|
2fd7805c10 | ||
|
|
e9e8ef2455 | ||
|
|
9868d18c75 | ||
|
|
9e39c63627 | ||
|
|
277677837e | ||
|
|
04b332bd07 | ||
|
|
d51d4aa2c4 | ||
|
|
ece4c4dd4d | ||
|
|
34b6134c4c | ||
|
|
fe5478af8b | ||
|
|
bab27d6189 | ||
|
|
ba22dbb69b | ||
|
|
3e46e3df5c | ||
|
|
be2e78d2e0 | ||
|
|
eda4cb5f59 | ||
|
|
e737d8d212 | ||
|
|
9a17e25da6 | ||
|
|
0fd5269d7b | ||
|
|
96ebbf9d05 | ||
|
|
5419892c90 | ||
|
|
48d007250b | ||
|
|
e418bbe173 | ||
|
|
5443c00f58 | ||
|
|
013408588e | ||
|
|
5a279266e1 | ||
|
|
96ba092c53 | ||
|
|
c057c4c88a | ||
|
|
727ab4820e |
No files matched your search
+26
-2
@@ -1,3 +1,4 @@
|
|||||||
|
/bin/
|
||||||
#General use .gitignore for Minecraft modding.
|
#General use .gitignore for Minecraft modding.
|
||||||
|
|
||||||
#Folders
|
#Folders
|
||||||
@@ -8,7 +9,14 @@
|
|||||||
/out/*
|
/out/*
|
||||||
/asm/*
|
/asm/*
|
||||||
/bin/*
|
/bin/*
|
||||||
/libs/*
|
/download/*
|
||||||
|
/.settings/*
|
||||||
|
/eclipse/*
|
||||||
|
/debug/*
|
||||||
|
/.metadata/*
|
||||||
|
/config/*
|
||||||
|
/logs/*
|
||||||
|
/saves/*
|
||||||
|
|
||||||
#File Extensions
|
#File Extensions
|
||||||
*.psd
|
*.psd
|
||||||
@@ -17,7 +25,23 @@
|
|||||||
*.iws
|
*.iws
|
||||||
*.classpath
|
*.classpath
|
||||||
*.project
|
*.project
|
||||||
|
*.lock
|
||||||
|
*.log
|
||||||
|
|
||||||
#Specific files
|
#Specific files
|
||||||
MCFPost.txt
|
MCFPost.txt
|
||||||
Thumbs.db
|
options.txt
|
||||||
|
|
||||||
|
#Remove OS generated garbage
|
||||||
|
*/.DS_Store
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
Icon?
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
#Vim backups
|
||||||
|
*~
|
||||||
|
*.bat
|
||||||
-133
@@ -1,133 +0,0 @@
|
|||||||
Changelog of the mod : Electric Magic Tools, a Thaumcraft 4/Industrial-Craft 2 addon
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
||||||
Version 2.0.0Alpha-Build 29:
|
|
||||||
Hopefully no more duplicate packages or stuff. I hope.
|
|
||||||
|
|
||||||
Version 2.0.0Alpha-Build 28:
|
|
||||||
Started updating changelog again. Oops :p
|
|
||||||
Fixed the TileEntities not getting registered.
|
|
||||||
|
|
||||||
Version 2.0.0Alpa5:
|
|
||||||
Wild Material Shards have appeared! They are used in the tools' crafting recipes :D.
|
|
||||||
And here come the carvers!
|
|
||||||
|
|
||||||
Version 2.0.0Alpha4:
|
|
||||||
Added some items to the vanilla module of the mod: Wooden, Stone, Iron, Golden and Diamond Drills.
|
|
||||||
Added Wooden, Stone, Iron, Golden and Diamond Chainsaws.
|
|
||||||
Added Iron, Golden and Diamond Omnitools.
|
|
||||||
Removed stuff from capes, it's not needed anymore.
|
|
||||||
|
|
||||||
Version 2.0.0Alpha3:
|
|
||||||
Fixed the UU-Matter infusion research page crash. But the recipes aren't viable anymore, I'll get to fixing that ASAP.
|
|
||||||
Added a few Base tools, just for later purposes.
|
|
||||||
Added an interface for using in said tools, for later purposes too
|
|
||||||
|
|
||||||
Version 2.0.0Aplha2:
|
|
||||||
Fixed the Electric/Nano/Qunatum Boots of the Traveller not preventing fall damage. They now drain energy when doing so.
|
|
||||||
Fixed the Wings not preventing fall damage. They just do it.
|
|
||||||
Fixed the Wings model being derpy (Finally, huzza!)
|
|
||||||
|
|
||||||
Version 2.0.0Alpha1:
|
|
||||||
Since SOMEONE decided to change the modid, and almost everything else, this is now EMT 2.0.0. Hurray, and all that stuff.
|
|
||||||
Fixed the Essentia Generators crashing when placed in world. Oops.
|
|
||||||
And, well, as you can see, resumed the work on EMT. Sorry for the delay! :p
|
|
||||||
|
|
||||||
Version 1.1.4 :
|
|
||||||
Updated to Minecraft version 1.7.10.
|
|
||||||
Rewrote and improved the Essentia Generator code. It's now very easy to add new ones.
|
|
||||||
Rewrote and improved the Solar Panel code. It's now very easy to add new ones.
|
|
||||||
Rewrote and improved the Drill, Chainsaw, Omnitool, Boot, Goggle and Wing code. It's now very easy to add new ones, as well as way more efficient.
|
|
||||||
Refactored a lot of the code in preparation for the modules.
|
|
||||||
Added a new Essentia Generator, the Aer Generator.
|
|
||||||
Added a tooltip to the current Essentia Generators, saying they will be removed in future versions.
|
|
||||||
Added an Essentia Generator, alongisde with a dynamic system calculating outputs linked to different essentias. Change the values of the primals in the config, and there is even a maximum cap!
|
|
||||||
Added localization text for almost everything. (TehNut)
|
|
||||||
Added config GUI for in game config changes. (Implemented by Tombenpotter, fixed by TehNut)
|
|
||||||
Fixed Charged Creepers and Tainted Chickens not dropping things. (TehNut)
|
|
||||||
Organized creative tab to make it look nicer (TehNut)
|
|
||||||
Compressed Solar Panel tooltips are now easier to read. (TehNut)
|
|
||||||
|
|
||||||
Version 1.1.3 :
|
|
||||||
Added a logo to the mcmod.info, and fixed the version tag.
|
|
||||||
|
|
||||||
Version 1.1.2 :
|
|
||||||
Fixed the Shield Block being broken by the wither.
|
|
||||||
Added Config GUIs. Regenerating the config file is HIGLY reccomended.
|
|
||||||
Moved the baubles API to package it with EMT, along with the @API annotation to prevent any issues.
|
|
||||||
|
|
||||||
Version 1.1.1 :
|
|
||||||
Fixed a bug with The One Ring where mobs attacked you when you removed it while in creative.
|
|
||||||
New Thaumonomicon entries for a couple of things, thanks to Professor29.
|
|
||||||
Forgot to mention it, new Nanosuit Boots of the Traveller texture thanks to TehNut.
|
|
||||||
Removed Thaumium Plate and Lightning Summoner, and moved them to use other ids. This will delete existing ones.
|
|
||||||
Moved all the Solar Panels tooltips to require the use of the shift key to show themselves.
|
|
||||||
Adding wings, my take at the mix of Magic and Jetpacks.
|
|
||||||
Blacklist of the Etheral Processor now extends to anything containing armor, armour, helm, chestp, legging, boot, sword, shovel, axe or pick in its unlocalized name.
|
|
||||||
Added a drop to the Tainted Chicken, the Tainted Feather. Also added a crafting recipe for it.
|
|
||||||
Added a couple of crating components, used in the making of the wings.
|
|
||||||
Added a bunch of console outputs on the starting of the game so that I know exactly when it crashed if it died at startup.
|
|
||||||
Fixed a bug with the drill of the Rockbreaker that would make it use durability and eventually break when shift-breaking a block.
|
|
||||||
Added a different texture file for each solar panel, so that it can be changed more easily.
|
|
||||||
|
|
||||||
CyanideX remade all the EMT textures! Finally featuring cool looking stuff! Yey, thanks a lot to him!
|
|
||||||
|
|
||||||
Version 1.1.0 :
|
|
||||||
Updating to MC 1.7.2.
|
|
||||||
Added an Inventory Charging Bauble and an Armor Charging Bauble.
|
|
||||||
Added The One Ring, available only through dungeon loot.
|
|
||||||
Added a Wand Charging wand focus.
|
|
||||||
|
|
||||||
Versions 1.0.9a, 1.0.9b, 1.0.9c, 1.0.9d :
|
|
||||||
Added a blacklist for the Ethereal Processor to anything that has "dust" in its OreDict entry.
|
|
||||||
Mainly bugfixes.
|
|
||||||
|
|
||||||
Version 1.0.9 :
|
|
||||||
Fixed the bug with the Drill of the Rockbreaker.
|
|
||||||
Added UU-Matter Infusion Recipes.
|
|
||||||
Fixed the recipe for the Quantum Solar Helmet of Revealing.
|
|
||||||
Added the Wand Focus: Charging.
|
|
||||||
Added a cool particle effect existing when the Electric/Nano/Quantum boots of the traveller are worn (you an disable it in the config).
|
|
||||||
Added a portable node, and an Elecric Hoe of Growth.
|
|
||||||
|
|
||||||
Version 1.0.8 :
|
|
||||||
Added some magical solar panels, different tiers and special abilities to all of them.
|
|
||||||
|
|
||||||
Version 1.0.7 :
|
|
||||||
Updated to Thaumcraft 4.1.0x.
|
|
||||||
|
|
||||||
Version 1.0.6 :
|
|
||||||
Added an Industrial Wand Charging Station.
|
|
||||||
Added some legendary tools.
|
|
||||||
A couple of other things.
|
|
||||||
Code wise, switching to Forge Gradle (#964).
|
|
||||||
Added some enhanced boots of the traveller, and capes for some friends and I.
|
|
||||||
|
|
||||||
Version 1.0.5 :
|
|
||||||
Added some Ignis/Potentia/Auram generators.
|
|
||||||
Added Electric Goggles of revealing.
|
|
||||||
Added a Chainsaw of the Stream.
|
|
||||||
Added a Drill of the Rockbreaker.
|
|
||||||
|
|
||||||
Version 1.0.4 :
|
|
||||||
Added the Kris-tmas Focus.
|
|
||||||
Added the Shield Focus
|
|
||||||
|
|
||||||
Version 1.0.3b :
|
|
||||||
Second attempt to fix the server crash, it is again working in SMP.
|
|
||||||
|
|
||||||
Version 1.0.3 :
|
|
||||||
Attempt to fix the server crash of the mod. Attempt failed.
|
|
||||||
|
|
||||||
Version 1.0.2 :
|
|
||||||
Adds the Wand Focus : Laser.
|
|
||||||
Added a christmas easter egg.
|
|
||||||
Does not work on servers.
|
|
||||||
|
|
||||||
Version 1.0.1 :
|
|
||||||
Fixes a crash due to the Omnitools.
|
|
||||||
|
|
||||||
Version 1.0.0 :
|
|
||||||
First release of the mod.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|

|
||||||
|
|
||||||
|
#Electro-Magic Tools
|
||||||
|
|
||||||
|
Electro-Magic Tools is a Minecraft mod which integrates Thaumcraft 4 with IndustrialCraft 2 by adding cross-mod tools and items, such as magic solar panels, essentia generators and legendary items.
|
||||||
|
|
||||||
|
#Downloads
|
||||||
|
|
||||||
|
[CurseForge downloads](http://minecraft.curseforge.com/projects/electro-magic-tools)
|
||||||
|
|
||||||
|
[Github Releases](https://github.com/fewizz/Electro-Magic-Tools/releases)
|
||||||
|
|
||||||
|
#Issues
|
||||||
|
|
||||||
|
Before posting to the issue tracker, make sure you meet the following criteria:
|
||||||
|
|
||||||
|
- You're using the latest version of EMT.
|
||||||
|
- You've made sure the version of Forge you're using is the one EMT has been compiled for. (Newer is usually OK, but be careful!)
|
||||||
|
- You've gone through the effort to isolate EMT from other mods that aren't related to the issue.
|
||||||
|
- You've gone through the effort to find what conditions are necessary to reproduce the issue.
|
||||||
|
- The issue is subtle enough and has been around long enough that you think we might have missed it.
|
||||||
|
- You speak English or Russian well enough to explain yourself without wondering whether you will be understood.
|
||||||
|
|
||||||
|
|
||||||
|
# Fork
|
||||||
|
This mod was forked by the GT:NH Team to continue the development of the 1.7.10 Branch.
|
||||||
|
The up-to-date Master branch can be found on our Jenkins:
|
||||||
|
http://jenkins.usrv.de
|
||||||
+27
-56
@@ -2,16 +2,19 @@ buildscript {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url = "http://files.minecraftforge.net/maven" }
|
maven { url = "http://files.minecraftforge.net/maven" }
|
||||||
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||||
classpath 'org.ajoberstar:gradle-git:0.10.1'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'forge'
|
apply plugin: 'forge'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'signing'
|
||||||
|
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
ext.configFile = file "build.properties"
|
ext.configFile = file "build.properties"
|
||||||
configFile.withReader {
|
configFile.withReader {
|
||||||
@@ -20,27 +23,16 @@ configFile.withReader {
|
|||||||
project.ext.config = new ConfigSlurper().parse prop
|
project.ext.config = new ConfigSlurper().parse prop
|
||||||
}
|
}
|
||||||
|
|
||||||
def build_number = 'CUSTOM'
|
version = config.mod_version + "[" + config.mc_version + "]"
|
||||||
|
|
||||||
if (System.getenv('BUILD_NUMBER') != null)
|
|
||||||
build_number = System.getenv('BUILD_NUMBER')
|
|
||||||
|
|
||||||
version = config.mc_version + "-" + config.mod_version + "-${build_number}"
|
|
||||||
group= config.package_group
|
group= config.package_group
|
||||||
archivesBaseName = config.mod_name
|
archivesBaseName = config.mod_name
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = config.mc_version + "-" + config.forge_version + "-" + config.mc_version
|
version = config.mc_version + "-" + config.forge_version + "-" + config.mc_version
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
|
replaceIn "EMT.java"
|
||||||
|
replace "@version@", config.mod_version
|
||||||
|
|
||||||
if (project.hasProperty('mappings_version'))
|
if (project.hasProperty('mappings_version'))
|
||||||
mappings = project.mappings_version
|
mappings = project.mappings_version
|
||||||
}
|
}
|
||||||
@@ -51,25 +43,14 @@ processResources {
|
|||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include '**/*.info'
|
include '**/*.info'
|
||||||
include '**/*.properties'
|
expand 'version': config.mod_version
|
||||||
|
|
||||||
expand 'version': project.version, 'mcversion': project.minecraft.version
|
|
||||||
}
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
|
||||||
exclude '**/*.info'
|
|
||||||
exclude '**/*.properties'
|
|
||||||
exclude '**/*.db'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest.mainAttributes(
|
exclude "baubles/**"
|
||||||
"Built-By": System.getProperty('user.name'),
|
exclude "ic2/**"
|
||||||
"Created-By": "${System.getProperty('java.vm.version')} + (${System.getProperty('java.vm.vendor')})",
|
exclude "thaumcraft/**"
|
||||||
"Implementation-Title": project.name,
|
|
||||||
"Implementation-Version": project.version,
|
|
||||||
"Git-Hash": gitHash
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add a source jar
|
// add a source jar
|
||||||
@@ -78,39 +59,29 @@ task sourceJar(type: Jar) {
|
|||||||
classifier = 'sources'
|
classifier = 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
// add a javadoc jar
|
|
||||||
task javadocJar(type: Jar) {
|
|
||||||
from javadoc.destinationDir
|
|
||||||
classifier = 'javadoc'
|
|
||||||
}
|
|
||||||
|
|
||||||
// because the normal output has been made to be obfuscated
|
// because the normal output has been made to be obfuscated
|
||||||
task deobfJar(type: Jar) {
|
task deobfJar(type: Jar) {
|
||||||
from sourceSets.main.output
|
from sourceSets.main.output
|
||||||
classifier = 'deobf'
|
classifier = 'deobf'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.build.dependsOn sourceJar, javadocJar, deobfJar
|
tasks.build.dependsOn sourceJar, deobfJar
|
||||||
|
|
||||||
tasks.withType(JavaCompile) { task ->
|
tasks.withType(JavaCompile) { task ->
|
||||||
task.options.encoding = 'UTF-8'
|
task.options.encoding = 'UTF-8'
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
task signJar(dependsOn: 'reobf'){
|
||||||
tasks.publish.dependsOn 'build'
|
doLast {
|
||||||
publications {
|
ant.signjar(
|
||||||
mavenJava(MavenPublication) {
|
destDir: jar.destinationDir,
|
||||||
from components.java
|
jar: jar.getArchivePath(),
|
||||||
artifact sourceJar
|
alias: findProperty('keyStoreAlias') ?: '',
|
||||||
//artifact javadocJar
|
keystore: findProperty('keyStore') ?: '',
|
||||||
artifact deobfJar
|
storepass: findProperty('keyStorePass') ?: '',
|
||||||
}
|
digestalg: findProperty('signDigestAlg') ?: '',
|
||||||
}
|
tsaurl: findProperty('signTSAurl') ?: '',
|
||||||
repositories {
|
verbose: true
|
||||||
if (project.hasProperty('maven_repo')) {
|
)
|
||||||
maven { url maven_repo }
|
|
||||||
} else {
|
|
||||||
mavenLocal()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+4
-6
@@ -1,7 +1,5 @@
|
|||||||
#
|
package_group=emt
|
||||||
#Wed Feb 24 14:31:53 PDT 2015
|
|
||||||
package_group=com.tombenpotter.emt
|
|
||||||
mc_version=1.7.10
|
mc_version=1.7.10
|
||||||
forge_version=10.13.2.1307
|
forge_version=10.13.4.1614
|
||||||
mod_version=2.0.0Alpha2
|
mod_version=1.2.7.8
|
||||||
mod_name=ElectroMagicTools
|
mod_name=ElectroMagicTools
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
org.gradle.debug=false
|
||||||
|
org.gradle.daemon=false
|
||||||
Vendored
BIN
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#Fri Sep 26 11:20:52 CDT 2014
|
#Fri Nov 27 18:08:08 MSK 2015
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
rootProject.name = 'ElectroMagicTools'
|
|
||||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -13,7 +13,7 @@ public interface IBauble {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This method return the type of bauble this is.
|
* This method return the type of bauble this is.
|
||||||
* Type is used to determine the slots it can go into.
|
* Type is used to determine the slots it can go into.
|
||||||
*/
|
*/
|
||||||
public BaubleType getBaubleType(ItemStack itemstack);
|
public BaubleType getBaubleType(ItemStack itemstack);
|
||||||
|
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
@API(apiVersion = "1.7.10-1.0.1.5", owner = "Baubles", provides = "Baubles|API") package baubles.api;
|
@API(apiVersion = "1.7.10-1.0.1.5", owner = "Baubles", provides = "Baubles|API") package baubles.api;
|
||||||
|
|
||||||
import cpw.mods.fml.common.API;
|
import cpw.mods.fml.common.API;
|
||||||
Binary file not shown.
+20
-2
@@ -1,5 +1,8 @@
|
|||||||
package ic2.api;
|
package ic2.api;
|
||||||
|
|
||||||
|
import java.util.EnumSet;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
@@ -36,6 +39,15 @@ public enum Direction {
|
|||||||
*/
|
*/
|
||||||
ZP;
|
ZP;
|
||||||
|
|
||||||
|
private Direction() {
|
||||||
|
int side = ordinal() / 2;
|
||||||
|
int sign = getSign();
|
||||||
|
|
||||||
|
xOffset = side == 0 ? sign : 0;
|
||||||
|
yOffset = side == 1 ? sign : 0;
|
||||||
|
zOffset = side == 2 ? sign : 0;
|
||||||
|
}
|
||||||
|
|
||||||
public static Direction fromSideValue(int side) {
|
public static Direction fromSideValue(int side) {
|
||||||
return directions[(side + 2) % 6];
|
return directions[(side + 2) % 6];
|
||||||
}
|
}
|
||||||
@@ -83,7 +95,7 @@ public enum Direction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the inverse of this direction (XN -> XP, XP -> XN, etc.)
|
* Get the inverse of this direction (XN -> XP, XP -> XN, etc.)
|
||||||
*
|
*
|
||||||
* @return Inverse direction
|
* @return Inverse direction
|
||||||
*/
|
*/
|
||||||
public Direction getInverse() {
|
public Direction getInverse() {
|
||||||
@@ -92,7 +104,7 @@ public enum Direction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert this direction to a Minecraft side value.
|
* Convert this direction to a Minecraft side value.
|
||||||
*
|
*
|
||||||
* @return Minecraft side value
|
* @return Minecraft side value
|
||||||
*/
|
*/
|
||||||
public int toSideValue() {
|
public int toSideValue() {
|
||||||
@@ -112,6 +124,12 @@ public enum Direction {
|
|||||||
return ForgeDirection.getOrientation(toSideValue());
|
return ForgeDirection.getOrientation(toSideValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final int xOffset;
|
||||||
|
public final int yOffset;
|
||||||
|
public final int zOffset;
|
||||||
|
|
||||||
public static final Direction[] directions = Direction.values();
|
public static final Direction[] directions = Direction.values();
|
||||||
|
public static final Set<Direction> noDirections = EnumSet.noneOf(Direction.class);
|
||||||
|
public static final Set<Direction> allDirections = EnumSet.allOf(Direction.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
Binary file not shown.
+20
-18
@@ -37,13 +37,16 @@ public abstract class CropCard {
|
|||||||
/**
|
/**
|
||||||
* Determine the mod id owning this crop.
|
* Determine the mod id owning this crop.
|
||||||
*
|
*
|
||||||
* It's recommended to hard code this to your mod id.
|
* The owner serves as a name space. With every mod using a different owner, a mod only has to
|
||||||
|
* make sure it doesn't have conflicts with name() in itself.
|
||||||
|
* It's recommended to hard code this to your mod id as specified in the @Mod annotation.
|
||||||
|
* Do not use IC2's mod id here.
|
||||||
*
|
*
|
||||||
* @note changing name or owner will cause existing crops in users' worlds to disappear.
|
* @note changing name or owner will cause existing crops in users' worlds to disappear.
|
||||||
*
|
*
|
||||||
* @return Mod id.
|
* @return Mod id.
|
||||||
*/
|
*/
|
||||||
public String owner() {
|
public String owner() { // TODO: make abstract
|
||||||
return modId;
|
return modId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,7 +103,7 @@ public abstract class CropCard {
|
|||||||
* @param crop reference to ICropTile
|
* @param crop reference to ICropTile
|
||||||
* @return roots lengt use in isBlockBelow
|
* @return roots lengt use in isBlockBelow
|
||||||
*/
|
*/
|
||||||
public int getrootslength(ICropTile crop) {
|
public int getrootslength(ICropTile crop) { // TODO: camel case
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,7 +129,7 @@ public abstract class CropCard {
|
|||||||
* @param n index of the requested stat
|
* @param n index of the requested stat
|
||||||
* @return The requested value of the stats
|
* @return The requested value of the stats
|
||||||
*/
|
*/
|
||||||
public abstract int stat(int n);
|
public abstract int stat(int n); // TODO: change to fixed property object or builder with other attributes like tier
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional attributes of the plant, also influencing breeding.
|
* Additional attributes of the plant, also influencing breeding.
|
||||||
@@ -134,7 +137,7 @@ public abstract class CropCard {
|
|||||||
*
|
*
|
||||||
* @return Attributes as an array of strings
|
* @return Attributes as an array of strings
|
||||||
*/
|
*/
|
||||||
public abstract String[] attributes();
|
public abstract String[] attributes(); // TODO: default to none
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine the max crop size.
|
* Determine the max crop size.
|
||||||
@@ -212,7 +215,7 @@ public abstract class CropCard {
|
|||||||
* @return 0-30
|
* @return 0-30
|
||||||
*/
|
*/
|
||||||
public int weightInfluences(ICropTile crop, float humidity, float nutrients, float air) {
|
public int weightInfluences(ICropTile crop, float humidity, float nutrients, float air) {
|
||||||
return (int) (humidity+nutrients+air);
|
return (int) (humidity + nutrients + air);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -247,7 +250,7 @@ public abstract class CropCard {
|
|||||||
* @return need crop size for best output.
|
* @return need crop size for best output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract int getOptimalHavestSize(ICropTile crop);
|
public abstract int getOptimalHavestSize(ICropTile crop); // TODO: default to maxSize
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check whether the crop can be harvested.
|
* Check whether the crop can be harvested.
|
||||||
@@ -255,7 +258,7 @@ public abstract class CropCard {
|
|||||||
* @param crop reference to ICropTile
|
* @param crop reference to ICropTile
|
||||||
* @return Whether the crop can be harvested in its current state.
|
* @return Whether the crop can be harvested in its current state.
|
||||||
*/
|
*/
|
||||||
public abstract boolean canBeHarvested(ICropTile crop);
|
public abstract boolean canBeHarvested(ICropTile crop); // TODO: default to maxSize check
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base chance for dropping the plant's gains, specify values greater than 1 for multiple drops.
|
* Base chance for dropping the plant's gains, specify values greater than 1 for multiple drops.
|
||||||
@@ -263,10 +266,8 @@ public abstract class CropCard {
|
|||||||
*
|
*
|
||||||
* @return Chance to drop the gains
|
* @return Chance to drop the gains
|
||||||
*/
|
*/
|
||||||
public float dropGainChance() {
|
public float dropGainChance() { // TODO: change to double
|
||||||
float base = 1F;
|
return (float) Math.pow(0.95, tier());
|
||||||
for (int i = 0; i < tier(); i++) {base*=0.95;}
|
|
||||||
return base;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -284,20 +285,20 @@ public abstract class CropCard {
|
|||||||
* @param crop reference to ICropTile
|
* @param crop reference to ICropTile
|
||||||
* @return Plant size after harvesting
|
* @return Plant size after harvesting
|
||||||
*/
|
*/
|
||||||
public byte getSizeAfterHarvest(ICropTile crop) {return 1;}
|
public byte getSizeAfterHarvest(ICropTile crop) {return 1;} // TODO: change to int
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the plant is leftclicked by a player.
|
* Called when the plant is left clicked by a player.
|
||||||
* Default action is picking the plant.
|
* Default action is picking the plant.
|
||||||
*
|
*
|
||||||
* Only called Serverside.
|
* Only called server side.
|
||||||
*
|
*
|
||||||
* @param crop reference to ICropTile
|
* @param crop reference to ICropTile
|
||||||
* @param player player leftclicked the crop
|
* @param player player left clicked the crop
|
||||||
* @return Whether the plant has changed
|
* @return Whether the plant has changed
|
||||||
*/
|
*/
|
||||||
public boolean leftclick(ICropTile crop, EntityPlayer player) {
|
public boolean leftclick(ICropTile crop, EntityPlayer player) { // TODO: camel case
|
||||||
return crop.pick(true);
|
return crop.pick(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -398,7 +399,7 @@ public abstract class CropCard {
|
|||||||
*/
|
*/
|
||||||
public boolean isWeed(ICropTile crop) {
|
public boolean isWeed(ICropTile crop) {
|
||||||
return crop.getSize() >= 2 &&
|
return crop.getSize() >= 2 &&
|
||||||
(crop == Crops.weed || crop.getGrowth() >= 24);
|
(crop.getCrop() == Crops.weed || crop.getGrowth() >= 24);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -430,4 +431,5 @@ public abstract class CropCard {
|
|||||||
protected IIcon textures[];
|
protected IIcon textures[];
|
||||||
|
|
||||||
private final String modId; // TODO: make owner abstract, remove modId auto detection
|
private final String modId; // TODO: make owner abstract, remove modId auto detection
|
||||||
|
// TODO: add a clean way to obtain world reference and position
|
||||||
}
|
}
|
||||||
File renamed without changes.
File renamed without changes.
BIN
Binary file not shown.
+9
@@ -260,6 +260,15 @@ public interface ICropTile {
|
|||||||
*/
|
*/
|
||||||
public boolean isBlockBelow(Block block);
|
public boolean isBlockBelow(Block block);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if a block is under the farmland containing the crop.
|
||||||
|
* Searches up to 2 blocks below the farmland or an air space, whichever appears first.
|
||||||
|
*
|
||||||
|
* @param oreDictionaryName blocks to search
|
||||||
|
* @return Whether the blocks were found
|
||||||
|
*/
|
||||||
|
public boolean isBlockBelow(String oreDictionaryName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate plant seeds with the given parameters.
|
* Generate plant seeds with the given parameters.
|
||||||
*
|
*
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
BIN
Binary file not shown.
File renamed without changes.
BIN
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
@@ -1,5 +1,6 @@
|
|||||||
package ic2.api.info;
|
package ic2.api.info;
|
||||||
|
|
||||||
|
import net.minecraft.potion.Potion;
|
||||||
import net.minecraft.util.DamageSource;
|
import net.minecraft.util.DamageSource;
|
||||||
|
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
@@ -16,6 +17,12 @@ public class Info {
|
|||||||
*/
|
*/
|
||||||
public static DamageSource DMG_ELECTRIC, DMG_NUKE_EXPLOSION, DMG_RADIATION;
|
public static DamageSource DMG_ELECTRIC, DMG_NUKE_EXPLOSION, DMG_RADIATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Potions used by IC2.
|
||||||
|
* Getting assigned in preload.
|
||||||
|
*/
|
||||||
|
public static Potion POTION_RADIATION;
|
||||||
|
|
||||||
public static boolean isIc2Available() {
|
public static boolean isIc2Available() {
|
||||||
if (ic2Available != null) return ic2Available;
|
if (ic2Available != null) return ic2Available;
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
Loaded 100 of 794 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user