mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5446f097c5 | ||
|
|
2ba0beb8c9 | ||
|
|
a0e4894197 | ||
|
|
ee083ddf64 | ||
|
|
8e6d033785 | ||
|
|
8515558404 | ||
|
|
167d2104ed | ||
|
|
32666ac5ff |
No files matched your search
+6
-6
@@ -24,16 +24,16 @@
|
||||
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:waila:1.9.15:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.40-GTNH:dev")
|
||||
api("com.github.GTNewHorizons:GTNHLib:0.8.25:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.48-GTNH:dev")
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.134:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GTNHLib:0.8.41:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.188:dev") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:Botania:1.13.6-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.2:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.4:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.7.2:dev") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:Chisel:2.17.7-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Chisel:2.17.11-GTNH:api") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:ZenScript:1.0.0-GTNH") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.2:dev") {transitive = false }
|
||||
@@ -41,5 +41,5 @@ dependencies {
|
||||
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false }
|
||||
compileOnly("curse.maven:guide-api-228832:2287185") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.24:dev")
|
||||
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.25:dev")
|
||||
}
|
||||
@@ -43,6 +43,10 @@ developmentEnvironmentUserName = Developer
|
||||
# See https://github.com/bsideup/jabel for details on how this works.
|
||||
enableModernJavaSyntax = true
|
||||
|
||||
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
|
||||
# and should *not* be used in most situations. -1 disables this.
|
||||
# forceToolchainVersion = -1
|
||||
|
||||
# Enables injecting missing generics into the decompiled source code for a better coding experience.
|
||||
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
|
||||
enableGenericInjection = true
|
||||
@@ -209,3 +213,6 @@ disableCheckstyle = true
|
||||
# This is meant to be set in $HOME/.gradle/gradle.properties.
|
||||
# ideaCheckSpotlessOnBuild = true
|
||||
|
||||
# Non-GTNH properties
|
||||
org.gradle.configuration-cache = true
|
||||
org.gradle.parallel = true
|
||||
@@ -0,0 +1,12 @@
|
||||
#This file is generated by updateDaemonJvm
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
|
||||
toolchainVersion=25
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
# Copyright © 2015 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -114,7 +114,6 @@ case "$( uname )" in #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH="\\\"\\\""
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
@@ -172,7 +171,6 @@ fi
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
@@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||
"$@"
|
||||
|
||||
|
||||
Vendored
+1
-2
@@ -70,11 +70,10 @@ goto fail
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.48'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.9'
|
||||
}
|
||||
|
||||
|
||||
@@ -3054,56 +3054,59 @@ public class AlchemicalWizardry {
|
||||
stringStack);
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
new ItemStack(ModBlocks.blockStabilityGlyph),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'1',
|
||||
crepitousStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
praesidiumStack,
|
||||
's',
|
||||
magicalesStack);
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockStabilityGlyph),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'1',
|
||||
crepitousStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
praesidiumStack,
|
||||
's',
|
||||
magicalesStack));
|
||||
GameRegistry.addRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
offensaStack,
|
||||
's',
|
||||
lifeShardStack);
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
offensaStack,
|
||||
's',
|
||||
lifeShardStack));
|
||||
GameRegistry.addRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
virtusStack,
|
||||
's',
|
||||
soulShardStack);
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
virtusStack,
|
||||
's',
|
||||
soulShardStack));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
dawnRitualDivinerStack,
|
||||
|
||||
@@ -28,6 +28,7 @@ import WayofTime.alchemicalWizardry.common.ItemType;
|
||||
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import gregtech.common.blocks.GTBlockOre;
|
||||
|
||||
public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
||||
|
||||
@@ -118,8 +119,20 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
|
||||
.canSilkHarvest(par2World, par3EntityPlayer, posX + i, posY + j, posZ + k, meta)) {
|
||||
dropMultiset.add(new ItemType(block, meta));
|
||||
} else {
|
||||
ArrayList<ItemStack> itemDropList = block
|
||||
.getDrops(par2World, posX + i, posY + j, posZ + k, meta, fortuneLvl);
|
||||
ArrayList<ItemStack> itemDropList;
|
||||
if (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre) {
|
||||
itemDropList = ((GTBlockOre) block).getDropsForPlayer(
|
||||
par2World,
|
||||
posX + i,
|
||||
posY + j,
|
||||
posZ + k,
|
||||
meta,
|
||||
fortuneLvl,
|
||||
par3EntityPlayer);
|
||||
} else {
|
||||
itemDropList = block
|
||||
.getDrops(par2World, posX + i, posY + j, posZ + k, meta, fortuneLvl);
|
||||
}
|
||||
|
||||
if (itemDropList != null) {
|
||||
for (ItemStack stack : itemDropList)
|
||||
|
||||
@@ -25,6 +25,7 @@ import WayofTime.alchemicalWizardry.ModItems;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.IAlchemyGoggles;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.ArmourUpgrade;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.ILPGauge;
|
||||
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
|
||||
import WayofTime.alchemicalWizardry.common.items.sigil.SigilDivination;
|
||||
@@ -608,29 +609,17 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
|
||||
}
|
||||
|
||||
for (ItemStack item : inv) {
|
||||
if (item == null) {
|
||||
if (item == null || !(item.getItem() instanceof IBloodOrb orb)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (item.getItem().equals(ModItems.weakBloodOrb)) {
|
||||
return 0.75f;
|
||||
}
|
||||
|
||||
if (item.getItem().equals(ModItems.apprenticeBloodOrb)) {
|
||||
return 0.50f;
|
||||
}
|
||||
|
||||
if (item.getItem().equals(ModItems.magicianBloodOrb)) {
|
||||
return 0.25f;
|
||||
}
|
||||
|
||||
if (item.getItem().equals(ModItems.masterBloodOrb)) {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
if (item.getItem().equals(ModItems.archmageBloodOrb)) {
|
||||
return 0.0f;
|
||||
}
|
||||
return switch (orb.getOrbLevel()) {
|
||||
case 1 -> 0.75f;
|
||||
case 2 -> 0.50f;
|
||||
case 3 -> 0.25f;
|
||||
case 4, 5, 6 -> 0;
|
||||
default -> 1;
|
||||
};
|
||||
}
|
||||
|
||||
return 1.0f;
|
||||
|
||||
Reference in new issue
Block a user