Compare commits

...
12 Commits
441 changed files with 449 additions and 275 deletions

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
name: Optimize images
on:
pull_request:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
push:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
jobs:
optimize-images:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/optimize-images.yml@master
secrets: inherit
+10 -10
View File
@@ -23,22 +23,22 @@
*/
dependencies {
api("com.github.GTNewHorizons:waila:1.9.2:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.8.15-GTNH:dev")
api("com.github.GTNewHorizons:waila:1.19.25:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.8.93-GTNH:dev")
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.45:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GTNHLib:0.9.57:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.480: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:Botania:1.13.16-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.19:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.7.10:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.17.0-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.17.26-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 }
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.7:dev") {transitive = false }
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.23:dev")
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.34:dev")
}
+39 -4
View File
@@ -39,9 +39,33 @@ remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/co
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
developmentEnvironmentUserName = Developer
# Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8.
# See https://github.com/bsideup/jabel for details on how this works.
enableModernJavaSyntax = true
# Enables modern Java syntax support. Valid values:
# - false: No modern syntax, Java 8 only
# - jabel: Jabel syntax-only support, compiles to J8 bytecode
# - jvmDowngrader: Full modern Java via JVM Downgrader (syntax + stdlib APIs)
# - modern: Native modern Java bytecode, no downgrading
enableModernJavaSyntax = jabel
# 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
# Target JVM version for JVM Downgrader bytecode downgrading.
# Only used when enableModernJavaSyntax = jvmDowngrader
# downgradeTargetVersion = 8
# Comma-separated list of Java versions for multi-release jar support (JVM Downgrader only).
# Classes will be available in META-INF/versions/N/ for each version N in this list.
# Default: "21,25" (J25+ gets native classes, J21-24 gets partial downgrade, J8-20 gets full downgrade).
# jvmDowngraderMultiReleaseVersions = 21,25
# Specifies how JVM Downgrader API stubs are provided. Options:
# - shade: Shade minimized stubs into the jar
# - gtnhlib: GTNHLib provides stubs at runtime (adds version constraint)
# - external: Another dependency provides stubs (no constraint, no warning)
# - (empty): Warning reminding you to configure stubs
# Note: 'shade' option requires you to verify license compliance, see: https://github.com/unimined/JvmDowngrader/blob/main/LICENSE.md
# jvmDowngraderStubsProvider =
# 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.
@@ -96,7 +120,9 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -172,6 +198,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
customArchiveBaseName = BloodMagic
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
@@ -201,3 +233,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
+12
View File
@@ -0,0 +1,12 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c2dd35c9d0aaf0ba6ad0791320f99dfc/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/e5810bd7fd1f8a586644409d395a7e55/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/cf726b4a1c84b50457225f9bba6d7650/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/fa1e318c287360478e3c83a9a3ef1007/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/7b3c4877c0749019e6805bb61e421497/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d76df094a9cbbabd3b08251f9e61444a/redirect
toolchainVersion=25
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+3 -6
View File
@@ -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.
@@ -57,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -114,7 +114,6 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# 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,8 +210,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
Vendored
+1 -2
View File
@@ -70,11 +70,10 @@ goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%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
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.44'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
}
@@ -5,23 +5,28 @@ import net.minecraft.nbt.NBTTagCompound;
public class LifeEssenceNetwork extends net.minecraft.world.WorldSavedData {
public int currentEssence;
public int maxEssence;
public int maxOrb;
public LifeEssenceNetwork(String par1Str) {
super(par1Str);
currentEssence = 0;
// can be lower than currentEssence (overfilled) with runes of the orb
maxEssence = 1;
maxOrb = 0;
}
@Override
public void readFromNBT(NBTTagCompound nbttagcompound) {
currentEssence = nbttagcompound.getInteger("currentEssence");
maxEssence = nbttagcompound.getInteger("maxEssence");
maxOrb = nbttagcompound.getInteger("maxOrb");
}
@Override
public void writeToNBT(NBTTagCompound nbttagcompound) {
nbttagcompound.setInteger("currentEssence", currentEssence);
nbttagcompound.setInteger("maxEssence", maxEssence);
nbttagcompound.setInteger("maxOrb", maxOrb);
}
}
@@ -15,6 +15,7 @@ import WayofTime.alchemicalWizardry.api.event.ItemBindEvent;
import WayofTime.alchemicalWizardry.api.event.ItemDrainInContainerEvent;
import WayofTime.alchemicalWizardry.api.event.ItemDrainNetworkEvent;
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
import WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.eventhandler.Event;
import cpw.mods.fml.common.eventhandler.Event.Result;
@@ -36,6 +37,10 @@ public class SoulNetworkHandler {
return syphonFromNetwork(event.ownerNetwork, event.drainAmount) >= damageToBeDone;
}
/**
* @deprecated Use {@link #getMaxEssence(String ownerName)} to get maximum soul network capacity
*/
@Deprecated
public static int getCurrentMaxOrb(String ownerName) {
MinecraftServer mcServer = FMLCommonHandler.instance().getMinecraftServerInstance();
if (mcServer == null) {
@@ -53,6 +58,28 @@ public class SoulNetworkHandler {
return data.maxOrb;
}
public static int getMaxEssence(String ownerName) {
MinecraftServer mcServer = FMLCommonHandler.instance().getMinecraftServerInstance();
if (mcServer == null) {
return 0;
}
World world = mcServer.worldServers[0];
LifeEssenceNetwork data = (LifeEssenceNetwork) world.loadItemData(LifeEssenceNetwork.class, ownerName);
if (data == null) {
data = new LifeEssenceNetwork(ownerName);
world.setItemData(ownerName, data);
}
return data.maxEssence;
}
/**
* @deprecated Use {@link #setMaxEssenceToMax(String ownerName, int maxEssence)} to set maximum soul network
* capacity
*/
@Deprecated
public static void setMaxOrbToMax(String ownerName, int maxOrb) {
MinecraftServer mcServer = FMLCommonHandler.instance().getMinecraftServerInstance();
if (mcServer == null) {
@@ -71,6 +98,28 @@ public class SoulNetworkHandler {
data.markDirty();
}
public static void setMaxEssenceToMax(String ownerName, int maxEssence) {
MinecraftServer mcServer = FMLCommonHandler.instance().getMinecraftServerInstance();
if (mcServer == null) {
return;
}
World world = mcServer.worldServers[0];
LifeEssenceNetwork data = (LifeEssenceNetwork) world.loadItemData(LifeEssenceNetwork.class, ownerName);
if (data == null) {
data = new LifeEssenceNetwork(ownerName);
world.setItemData(ownerName, data);
}
data.maxEssence = Math.max(maxEssence, data.maxEssence);
data.markDirty();
}
/**
* @deprecated Use {@link #getMaxEssence(String ownerName)} to get maximum soul network capacity
*/
@Deprecated
public static int getMaximumForOrbTier(int maxOrb) {
switch (maxOrb) {
case 1:
@@ -327,6 +376,14 @@ public class SoulNetworkHandler {
}
public static boolean checkAndSetItemPlayer(ItemStack item, EntityPlayer player) {
if (item.getItem() instanceof IBloodOrb orb) {
String currentOwner = item.hasTagCompound() ? item.getTagCompound().getString("ownerName") : "";
String thisPlayer = getUsername(player);
if (currentOwner.isEmpty() || currentOwner.equals(thisPlayer)) {
setMaxEssenceToMax(thisPlayer, orb.getMaxEssence());
}
}
if (item.hasTagCompound() && !item.getTagCompound().getString("ownerName").equals("")) return true;
ItemBindEvent event = new ItemBindEvent(player, SoulNetworkHandler.getUsername(player), item);
@@ -14,6 +14,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraftforge.common.util.Constants;
import org.lwjgl.opengl.GL11;
@@ -53,7 +54,9 @@ public class NEICalcinatorHandler extends TemplateRecipeHandler {
ItemStack[] orbStacks = NEIConfig.getBloodOrbs().stream().map(ItemStack::new).toArray(ItemStack[]::new);
this.orbs = new PositionedStack(orbStacks, 32, 33);
this.amountText = String.format("%,d AR", amount);
String formattedAmount = String.format("%,d", amount);
this.amountText = StatCollector
.translateToLocalFormatted("text.recipe.alchemicCalcinator.reagent", formattedAmount);
this.amountTextWidth = fontRenderer.getStringWidth(amountText);
this.nameText = this.reagent.name;
@@ -7,6 +7,7 @@ import java.util.ArrayList;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
@@ -66,7 +67,10 @@ public class CostInfo extends BMNEIWidget {
GL11.glDisable(GL11.GL_BLEND);
GL11.glPopMatrix();
drawCenteredText(x, y, String.format("%,d", cost));
drawCenteredText(
x,
y,
StatCollector.translateToLocalFormatted("nei.recipe.meteor.cost.gui", String.format("%,d", cost)));
}
}
@@ -482,8 +482,7 @@ public class AlchemicalWizardryEventHooks {
NewPacketHandler.INSTANCE.sendTo(
NewPacketHandler.getLPPacket(
SoulNetworkHandler.getCurrentEssence(ownerName),
SoulNetworkHandler
.getMaximumForOrbTier(SoulNetworkHandler.getCurrentMaxOrb(ownerName))),
SoulNetworkHandler.getMaxEssence(ownerName)),
(EntityPlayerMP) entityLiving);
}
}
@@ -62,7 +62,7 @@ public class ModAchievements {
energyBazooka = new AchievementsMod("energyBazooka", -3, 2, ModItems.energyBazooka, archmageOrb);
demons = new AchievementsMod("demons", 0, 3, new ItemStack(ModItems.baseItems, 1, 29), archmageOrb)
.setSpecial();
transcendentOrb = new AchievementsMod("trancsendentOrb", 0, 5, ModItems.transcendentBloodOrb, demons);
transcendentOrb = new AchievementsMod("transcendentOrb", 0, 5, ModItems.transcendentBloodOrb, demons);
alchemicalWizardryPage = new AchievementPage(
"Blood Magic",
@@ -69,15 +69,15 @@ public class CommandSN extends CommandBase {
func_152373_a(icommandsender, this, "commands.soulnetwork.get.success", currentEssence, owner);
} else if ("fillMax".equalsIgnoreCase(astring[1])) {
int currentEssence = SoulNetworkHandler.getCurrentEssence(owner);
int orbTier = SoulNetworkHandler.getCurrentMaxOrb(owner);
int maxForOrb = SoulNetworkHandler.getMaximumForOrbTier(orbTier);
int fillAmount = maxForOrb - currentEssence;
int maxForUser = SoulNetworkHandler.getMaxEssence(owner);
int fillAmount = maxForUser - currentEssence;
SoulNetworkHandler.addCurrentEssenceToMaximum(owner, fillAmount, fillAmount);
func_152373_a(icommandsender, this, "commands.soulnetwork.fillMax.success", owner);
} else if ("create".equalsIgnoreCase(astring[1])) {
int orbTier = parseIntBounded(icommandsender, astring[2], 1, 6);
SoulNetworkHandler.setMaxOrbToMax(proxyPlayerName.getDisplayName(), orbTier);
func_152373_a(icommandsender, this, "commands.soulnetwork.create.success", owner, orbTier);
int desiredCapacity = parseInt(icommandsender, astring[2]);
SoulNetworkHandler.setMaxEssenceToMax(proxyPlayerName.getDisplayName(), desiredCapacity);
int actualCapacity = SoulNetworkHandler.getMaxEssence(proxyPlayerName.getDisplayName());
func_152373_a(icommandsender, this, "commands.soulnetwork.create.success", owner, actualCapacity);
} else {
throw new CommandException("commands.soulnetwork.notACommand");
}
@@ -85,9 +85,8 @@ public class SubCommandNetwork extends SubCommandBase {
if (args.length == 3) {
if (isInteger(args[2])) {
int amount = Integer.parseInt(args[2]);
int maxOrb = SoulNetworkHandler
.getMaximumForOrbTier(SoulNetworkHandler.getCurrentMaxOrb(givenName));
SoulNetworkHandler.addCurrentEssenceToMaximum(givenName, amount, maxOrb);
int maxEssence = SoulNetworkHandler.getMaxEssence(givenName);
SoulNetworkHandler.addCurrentEssenceToMaximum(givenName, amount, maxEssence);
displaySuccessString(commandSender, "commands.network.add.success", amount, givenName);
} else {
displayErrorString(commandSender, "commands.error.arg.invalid");
@@ -152,9 +151,8 @@ public class SubCommandNetwork extends SubCommandBase {
}
if (args.length > 1) {
int maxOrb = SoulNetworkHandler
.getMaximumForOrbTier(SoulNetworkHandler.getCurrentMaxOrb(givenName));
SoulNetworkHandler.setCurrentEssence(givenName, maxOrb);
int maxEssence = SoulNetworkHandler.getMaxEssence(givenName);
SoulNetworkHandler.setCurrentEssence(givenName, maxEssence);
displaySuccessString(commandSender, "commands.network.cap.success", givenName);
}
@@ -3,6 +3,7 @@ package WayofTime.alchemicalWizardry.common.demonVillage.tileEntity;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityChest;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.api.Int3;
@@ -12,7 +13,7 @@ public class TEDemonChest extends TileEntityChest implements ITilePortalNode {
@Override
public String getInventoryName() {
return "Demon's Chest";
return StatCollector.translateToLocal("gui.demonChest.title");
}
@Override
@@ -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)
@@ -36,7 +36,7 @@ public class ItemRitualDismantler extends EnergyItems {
@Override
public void addInformation(ItemStack stack, EntityPlayer player, List par3List, boolean x) {
par3List.add(StatCollector.translateToLocal("tooltip.dismatler.desc"));
par3List.add(StatCollector.translateToLocal("tooltip.dismantler.desc"));
addBindingInformation(stack, par3List);
}
@@ -53,10 +53,7 @@ public class SigilLava extends ItemBucket implements ArmourUpgrade, ISigil {
@Override
public ItemStack getContainerItem(ItemStack itemStack) {
ItemStack copiedStack = itemStack.copy();
copiedStack.setItemDamage(copiedStack.getItemDamage() + getEnergyUsed());
copiedStack.stackSize = 1;
return copiedStack;
return itemStack;
}
@Override
@@ -23,6 +23,7 @@ import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.ItemType;
import WayofTime.alchemicalWizardry.common.block.BlockTeleposer;
import gregtech.common.blocks.GTBlockOre;
public class RitualEffectMagnetic extends RitualEffect {
@@ -34,7 +35,10 @@ public class RitualEffectMagnetic extends RitualEffect {
public static boolean isBlockOre(Block block, int meta) {
// Special case for lit redstone ore
if (block instanceof BlockOre || block instanceof BlockRedstoneOre) return true;
if (block instanceof BlockOre || block instanceof BlockRedstoneOre
|| (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre)) {
return true;
}
if (block == null || Item.getItemFromBlock(block) == null) return false;
@@ -21,7 +21,7 @@ public class GuiTeleposer extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int param1, int param2) {
// the parameters for drawString are: string, x, y, color
fontRendererObj.drawString("Teleposer", 64, 5, 4210752);
fontRendererObj.drawString(StatCollector.translateToLocal("gui.bloodTeleposer.title"), 64, 5, 4210752);
// draws "Inventory" or your regional equivalent
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, 29, 4210752);
}
@@ -22,7 +22,7 @@ public class GuiWritingTable extends GuiContainer {
protected void drawGuiContainerForegroundLayer(int param1, int param2) {
// draw text and stuff here
// the parameters for drawString are: string, x, y, color
fontRendererObj.drawString("Alchemic Chemistry Set", 8, 6, 4210752);
fontRendererObj.drawString(StatCollector.translateToLocal("gui.blockWritingTable.title"), 8, 6, 4210752);
// draws "Inventory" or your regional equivalent
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, 130, 4210752);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -174,8 +174,12 @@ item.itemFluidSigil.name=
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Alchemisches Chemieset
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Verbrauch
bm.string.drain=Entzug
bm.string.tier=Stufe
bm.string.crafting.orb.shaped=Geformte Orb-Fertigung
bm.string.crafting.orb.shapeless=Formfreie Orb-Fertigung
text.recipe.alchemicCalcinator.reagent=%s AR
@@ -264,6 +264,9 @@ item.bloodMagicIncenseItem.Purpura.name=Purpura
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Alchemic Chemistry Set
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Usage
bm.string.drain=Drain
bm.string.tier=Tier
@@ -274,9 +277,11 @@ text.recipe.altar=Blood Altar
text.recipe.altar.tier=Tier: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Shaped Orb Recipe
text.recipe.alchemicCalcinator.reagent=%s AR
nei.recipe.meteor.category=Meteor Ritual
nei.recipe.meteor.cost=LP cost to summon this meteor
nei.recipe.meteor.tooExpensive=Insufficient LP in Soul Network
nei.recipe.meteor.cost.gui=%s
nei.recipe.meteor.radius=Radius: %s
nei.recipe.meteor.diameter=Diameter: %d (2r + 1)
nei.recipe.meteor.chance=Chance: %s%%
@@ -412,7 +417,7 @@ commands.soulnetwork.noPlayer=There is no player specified
commands.soulnetwork.noCommand=There is no command specified
commands.soulnetwork.notACommand=That is not a valid command
commands.soulnetwork.fillMax.success=Successfully filled %s's Soul Network to their orb max!
commands.soulnetwork.create.success=Successfully created %s's Soul Network (Orb tier: %d)
commands.soulnetwork.create.success=Successfully created %s's Soul Network (Capacity: %d)
#Tooltips
tooltip.activationcrystal.creativeonly=Creative Only - activates any ritual
@@ -499,7 +504,7 @@ tooltip.ritualdiviner.ritualtunedto=Ritual tuned to face:
tooltip.ritualdiviner.waterstones=Water Stones:
tooltip.ritualdiviner.dawnstones=Dawn Stones:
tooltip.ritualdiviner.totalStones=Total Stones:
tooltip.dismatler.desc=You can turn this upside down?
tooltip.dismantler.desc=You can turn this upside down?
tooltip.sacrificialdagger.desc1=A slight draining feeling tickles your fingers
tooltip.sacrificialdagger.desc2=Just a prick of the
tooltip.sacrificialdagger.desc3=finger will suffice...
@@ -624,8 +629,8 @@ achievement.alchemicalwizardry:energyBazooka=BOOM!!!
achievement.alchemicalwizardry:energyBazooka.desc=Create the all-powerful Energy Bazooka!!
achievement.alchemicalwizardry:demons=Demon Hunter
achievement.alchemicalwizardry:demons.desc=Kill a demon summoned by the Convocation of the Damned
achievement.alchemicalwizardry:trancsendentOrb=OVERPOWERED
achievement.alchemicalwizardry:trancsendentOrb.desc=Pick up a Transcendent Blood Orb
achievement.alchemicalwizardry:transcendentOrb=OVERPOWERED
achievement.alchemicalwizardry:transcendentOrb.desc=Pick up a Transcendent Blood Orb
#Buff
bm.buff.drowning=Drowning
@@ -204,11 +204,15 @@ item.transcendentBloodOrb.name=Orbe Sanguinaire Transcendante
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Matériel d’Alchimie
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Téléposeur
bm.string.consume=Exaction
bm.string.drain=Ponction Veineuse
bm.string.tier=Tiers
bm.string.crafting.orb.shaped=Fabrication Orbée Formée
bm.string.crafting.orb.shapeless=Fabrication Orbée Déformée
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=Elémenterrestre
@@ -174,8 +174,12 @@ item.itemFluidSigil.name=
itemGroup.tabBloodMagic=Magia del Sangue
#Extra Strings
gui.blockWritingTable.title=Set da Alchimista
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Utilizzo
bm.string.drain=Drenaggio
bm.string.tier=Livello
bm.string.crafting.orb.shaped=Creazione di un Glodo Formato
bm.string.crafting.orb.shapeless=Creazione di un Globo Informe
bm.string.crafting.orb.shapeless=Creazione di un Globo Informe
text.recipe.alchemicCalcinator.reagent=%s AR
@@ -187,8 +187,12 @@ item.destinationClearer.name=Alchemic Cleanser
itemGroup.tabBloodMagic=선혈의마술[Blood Magic]
#Extra Strings
gui.blockWritingTable.title=Alchemic Chemistry Set
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=사용량
bm.string.drain=흡수량
bm.string.tier=티어
bm.string.crafting.orb.shaped=블러드매직 오브 조합법
bm.string.crafting.orb.shapeless=블러드매직 오브 조합법
text.recipe.alchemicCalcinator.reagent=%s AR
@@ -235,6 +235,9 @@ item.boundBootsWater.name=Водные омега ботинки
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Алхимическая и химическая установка
gui.demonChest.title=Сундук демона
gui.bloodTeleposer.title=Телепозер
bm.string.consume=Потребление
bm.string.drain=Опустошение
bm.string.tier=Уровень
@@ -244,6 +247,7 @@ text.recipe.altar=Кровавый алтарь
text.recipe.altar.tier=Уровень: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Форменный рецепт шара
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=Элементаль земли
@@ -251,6 +251,9 @@ item.bloodMagicIncenseItem.Purpura.name=紫香粉末
itemGroup.tabBloodMagic=血魔法
#Extra Strings
gui.blockWritingTable.title=炼金术台
gui.demonChest.title=恶魔的箱子
gui.bloodTeleposer.title=传送器
bm.string.consume=使用
bm.string.drain=消耗
bm.string.tier=层数
@@ -261,6 +264,7 @@ text.recipe.altar=血之祭坛
text.recipe.altar.tier=层数: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=合适宝珠合成
text.recipe.alchemicCalcinator.reagent=%s AR
nei.recipe.meteor.category=陨星仪式
nei.recipe.meteor.cost=消耗: %s LP
nei.recipe.meteor.radius=半径: %s
@@ -385,7 +389,7 @@ commands.soulnetwork.noPlayer=没有指定玩家
commands.soulnetwork.noCommand=命令不够详细
commands.soulnetwork.notACommand=这不是有效的命令
commands.soulnetwork.fillMax.success=成功填满 %s 的气血宝珠!
commands.soulnetwork.create.success=成功创建 %s 的灵魂网络(气血宝珠等级: %d)
commands.soulnetwork.create.success=成功创建 %s 的灵魂网络(容量: %d)
#Tooltips
tooltip.activationcrystal.creativeonly=创造模式独有 - 激活任何仪式
@@ -472,7 +476,7 @@ tooltip.ritualdiviner.ritualtunedto=仪式朝向:
tooltip.ritualdiviner.waterstones=水之仪式石:
tooltip.ritualdiviner.dawnstones=破晓仪式石:
tooltip.ritualdiviner.totalStones=仪式石总数:
tooltip.dismatler.desc=你可以把这个颠倒过来?
tooltip.dismantler.desc=你可以把这个颠倒过来?
tooltip.sacrificialdagger.desc1=手指感到一股轻微的排失似的发痒
tooltip.sacrificialdagger.desc2=只是刺一下手指
tooltip.sacrificialdagger.desc3=你就能获得力量...
@@ -595,8 +599,8 @@ achievement.alchemicalwizardry:energyBazooka=BOOM!!!
achievement.alchemicalwizardry:energyBazooka.desc=制作强大的能量火箭筒!!
achievement.alchemicalwizardry:demons=恶魔猎手
achievement.alchemicalwizardry:demons.desc=杀死恶魔
achievement.alchemicalwizardry:trancsendentOrb=强上加强
achievement.alchemicalwizardry:trancsendentOrb.desc=捡起卓越气血宝珠
achievement.alchemicalwizardry:transcendentOrb=强上加强
achievement.alchemicalwizardry:transcendentOrb.desc=捡起卓越气血宝珠
#G-API Downloading
bm.versioning.getGAPI=["[BM] 您没有安装Guide-API! 安装它以解锁此书! [",{"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"}},"]"]
@@ -605,4 +609,4 @@ bm.versioning.doneDownloading=已完成下载 %s 重新加载您的游戏以进
bm.versioning.error=下载mod时出错!
bm.versioning.downloadedAlready=你已经拥有最新版本,重新加载游戏以进行更新!
bm.versioning.downloadingAlready=正在下载! 耐心点!
bm.versioning.disabled=此功能已禁用.
bm.versioning.disabled=此功能已禁用.
@@ -247,6 +247,9 @@ item.bloodMagicIncenseItem.Purpura.name=Purpura
itemGroup.tabBloodMagic=血魔法
#Extra Strings
gui.blockWritingTable.title=煉金術台
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=傳送器
bm.string.consume=使用
bm.string.drain=消耗
bm.string.tier=層數
@@ -256,6 +259,7 @@ text.recipe.altar=Blood Altar
text.recipe.altar.tier=Tier: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Shaped Orb Recipe
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=土之元素精靈
Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 761 B

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 B

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 B

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 736 B

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 B

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 B

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 715 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 B

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 630 B

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 B

After

Width:  |  Height:  |  Size: 518 B

Loaded 100 of 441 files, more files were not shown because too many files have changed in this diff. Show more