Compare commits

..
10 Commits
Author SHA1 Message Date
28d7b599f8 Swap to new ore natural API (#102)
Co-authored-by: Ethryan <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2025-10-12 12:22:12 +00:00
Martin Robertz 8bb7b1dd9b update 2025-10-01 17:39:52 +02:00
Martin Robertz f6e054ccb0 update 2025-09-20 16:08:17 +02:00
ABKQPO 7de1a553bc add Potion lang key (#108) 2025-09-19 02:07:51 +02:00
Martin Robertz ba7de9e090 update 2025-09-12 18:17:56 +02:00
Eldrinn-Elantey 291218c2aa Rename alchemicalwizardryBooks alchemicalwizardrybooks (#107) 2025-09-11 18:33:19 +02:00
Dream Master 077af85b4b update 2025-08-16 18:49:01 +07:00
Kenzo Yonaha efdfec3945 Change mining level of Bound Pickaxe, Axe and Shovel to 7 (#103) 2025-08-15 01:20:28 +00:00
Dream Master 6be1470620 update 2025-07-23 21:05:24 +07:00
koolkrafter5 df7a14a323 Altar Blocks Config (#101) 2025-07-23 20:56:22 +07:00
12 changed files with 73 additions and 44 deletions

No files matched your search

+8 -8
View File
@@ -23,16 +23,16 @@
*/
dependencies {
api("com.github.GTNewHorizons:waila:1.8.12:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.7.64-GTNH:dev")
api("com.github.GTNewHorizons:waila:1.9.0:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.8.9-GTNH:dev")
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.393:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.31:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.12.16-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.10.14:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.6.7:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.13.3-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.10.17:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.6.8:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.16.5-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.17.0-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 }
@@ -40,5 +40,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.15:dev")
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.23:dev")
}
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.41'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
}
@@ -1437,39 +1437,42 @@ public class AlchemicalWizardry {
emptyBucketStack,
'l',
new ItemStack(Items.leather_chestplate));
customPotionDrowning = (new PotionDrowning(customPotionDrowningID, true, 0)).setIconIndex(0, 0)
.setPotionName("Drowning");
customPotionBoost = (new PotionBoost(customPotionBoostID, false, 0)).setIconIndex(0, 0).setPotionName("Boost");
.setPotionName("bm.buff.drowning");
customPotionBoost = (new PotionBoost(customPotionBoostID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.boost");
customPotionProjProt = (new PotionProjectileProtect(customPotionProjProtID, false, 0)).setIconIndex(0, 0)
.setPotionName("Whirlwind");
.setPotionName("bm.buff.whirlwind");
customPotionInhibit = (new PotionInhibit(customPotionInhibitID, false, 0)).setIconIndex(0, 0)
.setPotionName("Inhibit");
.setPotionName("bm.buff.inhibit");
customPotionFlight = (new PotionFlight(customPotionFlightID, false, 0)).setIconIndex(0, 0)
.setPotionName("Flight");
.setPotionName("bm.buff.flight");
customPotionReciprocation = (new PotionReciprocation(customPotionReciprocationID, false, 0xFFFFFF))
.setIconIndex(0, 0).setPotionName("Reciprocation");
customPotionFlameCloak = (new PotionFlameCloak(customPotionFlameCloakID, false, 0).setIconIndex(0, 0)
.setPotionName("Flame Cloak"));
customPotionIceCloak = (new PotionIceCloak(customPotionIceCloakID, false, 0).setIconIndex(0, 0)
.setPotionName("Ice Cloak"));
customPotionHeavyHeart = (new PotionHeavyHeart(customPotionHeavyHeartID, true, 0).setIconIndex(0, 0)
.setPotionName("Heavy Heart"));
customPotionFireFuse = (new PotionFireFuse(customPotionFireFuseID, true, 0).setIconIndex(0, 0)
.setPotionName("Fire Fuse"));
customPotionPlanarBinding = (new PotionPlanarBinding(customPotionPlanarBindingID, true, 0).setIconIndex(0, 0)
.setPotionName("Planar Binding"));
customPotionSoulFray = (new PotionSoulFray(customPotionSoulFrayID, true, 0).setIconIndex(0, 0)
.setPotionName("Soul Fray"));
.setIconIndex(0, 0).setPotionName("bm.buff.reciprocation");
customPotionFlameCloak = (new PotionFlameCloak(customPotionFlameCloakID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.flame_cloak");
customPotionIceCloak = (new PotionIceCloak(customPotionIceCloakID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.ice_cloak");
customPotionHeavyHeart = (new PotionHeavyHeart(customPotionHeavyHeartID, true, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.heavy_heart");
customPotionFireFuse = (new PotionFireFuse(customPotionFireFuseID, true, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.fire_fuse");
customPotionPlanarBinding = (new PotionPlanarBinding(customPotionPlanarBindingID, true, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.planar_binding");
customPotionSoulFray = (new PotionSoulFray(customPotionSoulFrayID, true, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.soul_fray");
PlayerSacrificeHandler.soulFrayId = customPotionSoulFray;
customPotionSoulHarden = (new PotionSoulHarden(customPotionSoulHardenID, false, 0).setIconIndex(0, 0)
.setPotionName("Soul Harden"));
customPotionDeaf = (new PotionDeaf(customPotionDeafID, true, 0).setIconIndex(0, 0).setPotionName("Deafness"));
customPotionFeatherFall = (new PotionFeatherFall(customPotionFeatherFallID, false, 0).setIconIndex(0, 0)
.setPotionName("Feather Fall"));
customPotionDemonCloak = (new PotionDemonCloak(customPotionDemonCloakID, false, 0).setIconIndex(0, 0)
.setPotionName("Demon Cloaking"));
customPotionAmphibian = (new PotionAmphibian(customPotionAmphibianID, false, 0).setIconIndex(0, 0)
.setPotionName("Amphibian"));
customPotionSoulHarden = (new PotionSoulHarden(customPotionSoulHardenID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.soul_harden");
customPotionDeaf = (new PotionDeaf(customPotionDeafID, true, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.deafness");
customPotionFeatherFall = (new PotionFeatherFall(customPotionFeatherFallID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.feather_fall");
customPotionDemonCloak = (new PotionDemonCloak(customPotionDemonCloakID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.demon_cloak");
customPotionAmphibian = (new PotionAmphibian(customPotionAmphibianID, false, 0)).setIconIndex(0, 0)
.setPotionName("bm.buff.amphibian");
ItemStack masterBloodOrbStack = new ItemStack(ModItems.masterBloodOrb);
ItemStack transcendentBloodOrbStack = new ItemStack(ModItems.transcendentBloodOrb);
@@ -49,7 +49,7 @@ public class BoundAxe extends ItemAxe implements IBindable {
this.damageVsEntity = 5;
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
setEnergyUsed(5);
this.setHarvestLevel("axe", 5);
this.setHarvestLevel("axe", 7);
}
public void setEnergyUsed(int i) {
@@ -50,7 +50,7 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
this.damageVsEntity = 5;
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
this.setEnergyUsed(5);
setHarvestLevel("pickaxe", 5);
setHarvestLevel("pickaxe", 7);
}
public void setEnergyUsed(int i) {
@@ -51,7 +51,7 @@ public class BoundShovel extends ItemSpade implements IBindable {
this.damageVsEntity = 5;
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
setEnergyUsed(5);
setHarvestLevel("shovel", 5);
setHarvestLevel("shovel", 7);
}
public void setEnergyUsed(int i) {
@@ -10,14 +10,16 @@ import java.util.Random;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import com.gtnewhorizon.gtnhlib.util.data.ImmutableBlockMeta;
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
import cpw.mods.fml.common.Optional;
import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.common.blocks.TileEntityOres;
import gregtech.common.ores.OreInfo;
import gregtech.common.ores.OreManager;
public class Meteor {
@@ -230,9 +232,14 @@ public class Meteor {
@Optional.Method(modid = "gregtech")
private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) {
final TileEntity tileEntity = world.getTileEntity(x, y, z);
if (tileEntity instanceof TileEntityOres) {
((TileEntityOres) tileEntity).mNatural = true;
try (OreInfo<?> info = OreManager.getOreInfo(world, x, y, z)) {
if (info == null) return;
info.isNatural = true;
ImmutableBlockMeta bm = OreManager.getAdapter(info).getBlock(info);
world.setBlock(x, y, z, bm.getBlock(), bm.getBlockMeta(), 2);
}
}
}
@@ -631,6 +631,25 @@ achievement.alchemicalwizardry:demons.desc=Kill a demon summoned by the Convocat
achievement.alchemicalwizardry:trancsendentOrb=OVERPOWERED
achievement.alchemicalwizardry:trancsendentOrb.desc=Pick up a Transcendent Blood Orb
#Buff
bm.buff.drowning=Drowning
bm.buff.boost=Boost
bm.buff.whirlwind=Whirlwind
bm.buff.inhibit=Inhibit
bm.buff.flight=Flight
bm.buff.reciprocation=Reciprocation
bm.buff.flame_cloak=Flame Cloak
bm.buff.ice_cloak=Ice Cloak
bm.buff.heavy_heart=Heavy Heart
bm.buff.fire_fuse=Fire Fuse
bm.buff.planar_binding=Planar Binding
bm.buff.soul_fray=Soul Fray
bm.buff.soul_harden=Soul Harden
bm.buff.deafness=Deafness
bm.buff.feather_fall=Feather Fall
bm.buff.demon_cloak=Demon Cloaking
bm.buff.amphibian=Amphibian
#G-API Downloading
bm.versioning.getGAPI=["[BM] You don't have Guide-API installed! Install it to get it to unlock the book! [",{"text":"Download","color":"red","hoverEvent":{"action":"show_text","value":{"text":"Click this to auto-magically download the latest version","color":"red"}},"clickEvent":{"action":"run_command","value":"/bloodmagic-download-g-api"}},"]"]
bm.versioning.startingDownload=[{"text":"Starting download of %s Please do not remove your hard disk.", "color":"orange"}]