mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d81213ecd | ||
|
|
111e68d8e3 | ||
|
|
b33a851dce | ||
|
|
3f57b89f92 | ||
|
|
a9ee9c9aad | ||
|
|
9ee9537b12 | ||
|
|
e76f385d53 |
No files matched your search
+12
-8
@@ -2,27 +2,31 @@
|
||||
|
||||
dependencies {
|
||||
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev')
|
||||
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive=false}
|
||||
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-839-GTNH:api')
|
||||
api('com.github.GTNewHorizons:ThaumicBoots:1.5.8:dev') {transitive=false}
|
||||
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
|
||||
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-829-GTNH:api')
|
||||
api('com.github.GTNewHorizons:ThaumicBoots:1.5.8:dev') {
|
||||
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
|
||||
exclude module: 'Baubles'
|
||||
}
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.13.14-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderCore:0.5.5:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.10.20:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.10.18:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:EnderStorage:1.8.2:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:waila:1.19.22:api') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:TinkersConstruct:1.14.30-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:TinkersConstruct:1.14.27-GTNH:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.7.2:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:CodeChickenCore:1.4.10:dev') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:OpenComputers:1.12.16-GTNH:api') {transitive=false}
|
||||
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:api') {transitive=false}
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.308:dev") {exclude group: 'com.github.GTNewHorizons', module: 'ThaumicTinkerer'}
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.288:dev") {exclude group: 'com.github.GTNewHorizons', module: 'ThaumicTinkerer'}
|
||||
compileOnly('curse.maven:computercraft-67504:2269339')
|
||||
compileOnly('curse.maven:cofh-core-69162:2388751')
|
||||
|
||||
// For testing purposes
|
||||
//runtimeOnlyNonPublishable("com.github.GTNewHorizons:Electro-Magic-Tools:1.7.17:dev")
|
||||
|
||||
runtimeOnly(rfg.deobf('curse.maven:thaumcraft-nei-plugin-225095:2241913'))
|
||||
runtimeOnly('com.github.GTNewHorizons:TCNEIAdditions:1.5.13:dev')
|
||||
runtimeOnly('com.github.GTNewHorizons:TCNEIAdditions:1.5.13:dev') {
|
||||
exclude module: 'Baubles'
|
||||
}
|
||||
}
|
||||
@@ -71,7 +71,7 @@ public class ModEnchantmentHandler {
|
||||
int finalStrike = EnchantmentHelper.getEnchantmentLevel(LibEnchantIDs.finalStrike, heldItem);
|
||||
if (finalStrike > 0) {
|
||||
Random rand = new Random();
|
||||
if (finalStrike > rand.nextInt(19)) {
|
||||
if ((finalStrike >= 19 || rand.nextInt(20 - finalStrike) == 0)) {
|
||||
event.ammount *= 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ public class ItemFocusXPDrain extends ItemModKamiFocus {
|
||||
int intendedAdd = Math.round(500 * multiplier);
|
||||
int actualAdd = Math.min(intendedAdd, maxVis - lowestAmount);
|
||||
|
||||
int xpUse = getXpUse(wand.getFocusItem(stack));
|
||||
int xpUse = getXpUse(stack);
|
||||
int scaledXp = Math.max(1, Math.round(xpUse * (actualAdd / (float) intendedAdd)));
|
||||
|
||||
if (player.experienceTotal >= scaledXp) {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 399 B |
Reference in new issue
Block a user