Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1544c1bf0d | ||
|
|
88002582b9 | ||
|
|
26580c10b3 | ||
|
|
f3e594ad7f | ||
|
|
8d891552e9 | ||
|
|
99aab04584 | ||
|
|
96886c1125 | ||
|
|
860c66e081 | ||
|
|
e2fef45a90 |
No files matched your search
@@ -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
|
||||
@@ -23,23 +23,22 @@
|
||||
*/
|
||||
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:waila:1.9.15:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.48-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:GTNHLib:0.8.41:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.188: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.6-GTNH: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: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.11-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.25:dev")
|
||||
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.34:dev")
|
||||
}
|
||||
@@ -39,14 +39,34 @@ 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.
|
||||
enableGenericInjection = true
|
||||
|
||||
@@ -1,12 +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
|
||||
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
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -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/.
|
||||
|
||||
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.9'
|
||||
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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 230 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
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=土之元素精靈
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 920 B |
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 670 B |
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 399 B |
|
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 713 B |
|
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 453 B |
|
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 974 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 969 B |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 430 B |
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 403 B |
|
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 405 B |
|
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 711 B |
|
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 663 B |
|
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 673 B |
|
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 706 B |
|
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 192 B |
|
Before Width: | Height: | Size: 779 B After Width: | Height: | Size: 678 B |
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 665 B |
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 690 B |
|
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 569 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 641 B |
|
Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 619 B |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 614 B |
|
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 485 B |
|
Before Width: | Height: | Size: 811 B After Width: | Height: | Size: 701 B |
|
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 604 B |
|
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 688 B |
|
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 783 B |
|
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 681 B |
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 518 B |
|
Before Width: | Height: | Size: 629 B After Width: | Height: | Size: 601 B |
|
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 671 B |