Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19d63cd461 | ||
|
|
105d2287de | ||
|
|
934dfd134f | ||
|
|
c0dd8e2a06 | ||
|
|
fd112eda2f | ||
|
|
0534a90ef8 | ||
|
|
b6c10e52d2 | ||
|
|
21f5f6857d | ||
|
|
4baf6583c3 | ||
|
|
3b72ab5138 | ||
|
|
11c363ec38 | ||
|
|
6245fdbfd0 |
No files matched your search
@@ -1,17 +0,0 @@
|
||||
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,22 +23,22 @@
|
||||
*/
|
||||
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:waila:1.19.25:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.93-GTNH:dev")
|
||||
api("com.github.GTNewHorizons:waila:1.9.0:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.8.11-GTNH:dev")
|
||||
|
||||
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:GT5-Unofficial:5.09.52.32: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: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.17.26-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Chisel:2.17.0-GTNH:api") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.7:dev") {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("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.34:dev")
|
||||
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.23:dev")
|
||||
}
|
||||
@@ -39,33 +39,9 @@ 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 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 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 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.
|
||||
@@ -120,9 +96,7 @@ usesMixinDebug = false
|
||||
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
|
||||
mixinPlugin =
|
||||
|
||||
# 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.
|
||||
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
|
||||
mixinsPackage =
|
||||
|
||||
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
|
||||
@@ -198,12 +172,6 @@ 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.
|
||||
@@ -233,6 +201,3 @@ 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
|
||||
@@ -1,12 +0,0 @@
|
||||
#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
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015 the original authors.
|
||||
# Copyright © 2015-2021 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/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/HEAD/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,6 +114,7 @@ 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.
|
||||
@@ -171,6 +172,7 @@ 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" )
|
||||
|
||||
@@ -210,7 +212,8 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
|
||||
@@ -70,10 +70,11 @@ 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%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
|
||||
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
|
||||
}
|
||||
|
||||
|
||||
@@ -3054,59 +3054,56 @@ public class AlchemicalWizardry {
|
||||
stringStack);
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockStabilityGlyph),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'1',
|
||||
crepitousStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
praesidiumStack,
|
||||
's',
|
||||
magicalesStack));
|
||||
new ItemStack(ModBlocks.blockStabilityGlyph),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'1',
|
||||
crepitousStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
praesidiumStack,
|
||||
's',
|
||||
magicalesStack);
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
offensaStack,
|
||||
's',
|
||||
lifeShardStack));
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
offensaStack,
|
||||
's',
|
||||
lifeShardStack);
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedBloodOrbRecipe(
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
virtusStack,
|
||||
's',
|
||||
soulShardStack));
|
||||
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
|
||||
"1s1",
|
||||
"grg",
|
||||
"bob",
|
||||
'o',
|
||||
transcendentBloodOrbStack,
|
||||
'r',
|
||||
bloodRuneStack,
|
||||
'g',
|
||||
etherealSlateStack,
|
||||
'b',
|
||||
magicalesStack,
|
||||
'1',
|
||||
virtusStack,
|
||||
's',
|
||||
soulShardStack);
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
dawnRitualDivinerStack,
|
||||
|
||||
@@ -14,7 +14,6 @@ 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;
|
||||
@@ -54,9 +53,7 @@ public class NEICalcinatorHandler extends TemplateRecipeHandler {
|
||||
ItemStack[] orbStacks = NEIConfig.getBloodOrbs().stream().map(ItemStack::new).toArray(ItemStack[]::new);
|
||||
this.orbs = new PositionedStack(orbStacks, 32, 33);
|
||||
|
||||
String formattedAmount = String.format("%,d", amount);
|
||||
this.amountText = StatCollector
|
||||
.translateToLocalFormatted("text.recipe.alchemicCalcinator.reagent", formattedAmount);
|
||||
this.amountText = String.format("%,d AR", amount);
|
||||
this.amountTextWidth = fontRenderer.getStringWidth(amountText);
|
||||
|
||||
this.nameText = this.reagent.name;
|
||||
|
||||
@@ -7,7 +7,6 @@ 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;
|
||||
|
||||
@@ -67,10 +66,7 @@ public class CostInfo extends BMNEIWidget {
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
drawCenteredText(
|
||||
x,
|
||||
y,
|
||||
StatCollector.translateToLocalFormatted("nei.recipe.meteor.cost.gui", String.format("%,d", cost)));
|
||||
drawCenteredText(x, y, String.format("%,d", cost));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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("transcendentOrb", 0, 5, ModItems.transcendentBloodOrb, demons);
|
||||
transcendentOrb = new AchievementsMod("trancsendentOrb", 0, 5, ModItems.transcendentBloodOrb, demons);
|
||||
|
||||
alchemicalWizardryPage = new AchievementPage(
|
||||
"Blood Magic",
|
||||
|
||||
@@ -16,8 +16,6 @@ import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentRegistry;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IReagentManipulator;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
||||
@@ -89,10 +87,12 @@ public class BlockAlchemicCalcinator extends BlockContainer {
|
||||
Random rand = new Random();
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
|
||||
if (!(tileEntity instanceof IInventory inventory)) {
|
||||
if (!(tileEntity instanceof IInventory)) {
|
||||
return;
|
||||
}
|
||||
|
||||
IInventory inventory = (IInventory) tileEntity;
|
||||
|
||||
for (int i = 0; i < inventory.getSizeInventory(); i++) {
|
||||
ItemStack item = inventory.getStackInSlot(i);
|
||||
|
||||
@@ -139,17 +139,18 @@ public class BlockAlchemicCalcinator extends BlockContainer {
|
||||
|
||||
if (playerItem.getItem() instanceof IBloodOrb) {
|
||||
if (tileEntity.getStackInSlot(0) == null) {
|
||||
IBindable.checkAndSetItemOwner(playerItem, player);
|
||||
ItemStack newItem = playerItem.copy();
|
||||
newItem.stackSize = 1;
|
||||
--playerItem.stackSize;
|
||||
tileEntity.setInventorySlotContents(0, newItem);
|
||||
}
|
||||
} else if (tileEntity.getStackInSlot(1) == null
|
||||
&& ReagentRegistry.getReagentStackForItem(playerItem) != null) {
|
||||
tileEntity.setInventorySlotContents(1, playerItem);
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
}
|
||||
} else if (tileEntity.getStackInSlot(1) == null) {
|
||||
ItemStack newItem = playerItem.copy();
|
||||
newItem.stackSize = 1;
|
||||
--playerItem.stackSize;
|
||||
tileEntity.setInventorySlotContents(1, newItem);
|
||||
}
|
||||
|
||||
} else {
|
||||
if (tileEntity.getStackInSlot(1) != null) {
|
||||
player.inventory.addItemStackToInventory(tileEntity.getStackInSlot(1));
|
||||
|
||||
@@ -1,21 +1,13 @@
|
||||
package WayofTime.alchemicalWizardry.common.block;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ChatComponentTranslation;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.Int3;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IReagentManipulator;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEReagentConduit;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -49,37 +41,6 @@ public class BlockReagentConduit extends BlockContainer {
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float what,
|
||||
float these, float are) {
|
||||
if (!world.isRemote) {
|
||||
ItemStack held = player.getHeldItem();
|
||||
if (held == null || !(held.getItem() instanceof IReagentManipulator)) {
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if (tile instanceof TEReagentConduit) {
|
||||
TEReagentConduit relay = (TEReagentConduit) tile;
|
||||
if (relay.reagentTargetList.isEmpty()) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.reagentconduit.noconnections"));
|
||||
} else {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.reagentconduit.connections"));
|
||||
for (Map.Entry<Reagent, List<Int3>> entry : relay.reagentTargetList.entrySet()) {
|
||||
Reagent reagent = entry.getKey();
|
||||
List<Int3> offsets = entry.getValue();
|
||||
if (offsets == null) continue;
|
||||
for (Int3 offset : offsets) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation(
|
||||
"message.reagentconduit.connection.entry",
|
||||
reagent.name,
|
||||
x + offset.xCoord,
|
||||
y + offset.yCoord,
|
||||
z + offset.zCoord));
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.onBlockActivated(world, x, y, z, player, side, what, these, are);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ 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;
|
||||
|
||||
@@ -13,7 +12,7 @@ public class TEDemonChest extends TileEntityChest implements ITilePortalNode {
|
||||
|
||||
@Override
|
||||
public String getInventoryName() {
|
||||
return StatCollector.translateToLocal("gui.demonChest.title");
|
||||
return "Demon's Chest";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -7,12 +7,16 @@ import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -44,13 +48,51 @@ public class ActivationCrystal extends EnergyItems {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
switch (par1ItemStack.getItemDamage()) {
|
||||
case 0 -> par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.lowlevelrituals"));
|
||||
case 1 -> par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.powerfulrituals"));
|
||||
case 2 -> par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.creativeonly"));
|
||||
case 0: {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.lowlevelrituals"));
|
||||
break;
|
||||
}
|
||||
|
||||
case 1: {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.powerfulrituals"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(
|
||||
EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 2: {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.activationcrystal.creativeonly"));
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
addBindingInformation(par1ItemStack, par3List);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ 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 {
|
||||
|
||||
@@ -119,20 +118,8 @@ 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;
|
||||
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);
|
||||
}
|
||||
ArrayList<ItemStack> itemDropList = block
|
||||
.getDrops(par2World, posX + i, posY + j, posZ + k, meta, fortuneLvl);
|
||||
|
||||
if (itemDropList != null) {
|
||||
for (ItemStack stack : itemDropList)
|
||||
|
||||
@@ -7,11 +7,16 @@ import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@@ -41,15 +46,43 @@ public class ItemAlchemyBase extends Item {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
|
||||
return par1ItemStack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack itemStack) {
|
||||
int meta = MathHelper.clamp_int(itemStack.getItemDamage(), 0, ITEM_NAMES.length - 1);
|
||||
return ("item.bloodMagicAlchemyItem." + ITEM_NAMES[meta]);
|
||||
return ("" + "item.bloodMagicAlchemyItem." + ITEM_NAMES[meta]);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -61,7 +94,7 @@ public class ItemAlchemyBase extends Item {
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(Item id, CreativeTabs creativeTab, List<ItemStack> list) {
|
||||
public void getSubItems(Item id, CreativeTabs creativeTab, List list) {
|
||||
for (int meta = 0; meta < ITEM_NAMES.length; ++meta) {
|
||||
list.add(new ItemStack(id, 1, meta));
|
||||
}
|
||||
|
||||
@@ -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.dismantler.desc"));
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.dismatler.desc"));
|
||||
addBindingInformation(stack, par3List);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ 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;
|
||||
@@ -34,8 +33,6 @@ import cpw.mods.fml.common.Optional;
|
||||
import cpw.mods.fml.common.Optional.Interface;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import gregtech.api.hazards.Hazard;
|
||||
import gregtech.api.hazards.IHazardProtector;
|
||||
import thaumcraft.api.IGoggles;
|
||||
import thaumcraft.api.IRunicArmor;
|
||||
import thaumcraft.api.nodes.IRevealer;
|
||||
@@ -43,10 +40,9 @@ import thaumcraft.api.nodes.IRevealer;
|
||||
@Optional.InterfaceList(
|
||||
value = { @Interface(iface = "thaumcraft.api.nodes.IRevealer", modid = "Thaumcraft"),
|
||||
@Interface(iface = "thaumcraft.api.IGoggles", modid = "Thaumcraft"),
|
||||
@Interface(iface = "thaumcraft.api.IRunicArmor", modid = "Thaumcraft"),
|
||||
@Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh") })
|
||||
public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialArmor, IBindable, IRevealer, IGoggles,
|
||||
IRunicArmor, ILPGauge, IHazardProtector {
|
||||
@Interface(iface = "thaumcraft.api.IRunicArmor", modid = "Thaumcraft") })
|
||||
public class BoundArmour extends ItemArmor
|
||||
implements IAlchemyGoggles, ISpecialArmor, IBindable, IRevealer, IGoggles, IRunicArmor, ILPGauge {
|
||||
|
||||
private static int invSize = 9;
|
||||
|
||||
@@ -609,17 +605,29 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
|
||||
}
|
||||
|
||||
for (ItemStack item : inv) {
|
||||
if (item == null || !(item.getItem() instanceof IBloodOrb orb)) {
|
||||
if (item == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
return switch (orb.getOrbLevel()) {
|
||||
case 1 -> 0.75f;
|
||||
case 2 -> 0.50f;
|
||||
case 3 -> 0.25f;
|
||||
case 4, 5, 6 -> 0;
|
||||
default -> 1;
|
||||
};
|
||||
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 1.0f;
|
||||
@@ -743,11 +751,4 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/// GT5 Hazmat protection
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
@Override
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -60,9 +60,6 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc1"));
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc2"));
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc3"));
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc4"));
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.attunedcrystal.desc5"));
|
||||
|
||||
if (!(par1ItemStack.getTagCompound() == null)) {
|
||||
Reagent reagent = this.getReagent(par1ItemStack);
|
||||
@@ -145,10 +142,6 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
||||
if (movingobjectposition == null) {
|
||||
if (player.isSneaking()) {
|
||||
this.setHasSavedCoordinates(itemStack, false);
|
||||
if (!itemStack.hasTagCompound()) {
|
||||
itemStack.setTagCompound(new net.minecraft.nbt.NBTTagCompound());
|
||||
}
|
||||
itemStack.getTagCompound().setString("reagent", "");
|
||||
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.clearing"));
|
||||
}
|
||||
|
||||
@@ -168,101 +161,35 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
||||
IReagentHandler relay = (IReagentHandler) tile;
|
||||
|
||||
if (player.isSneaking()) {
|
||||
if (this.getHasSavedCoordinates(itemStack)) {
|
||||
Int3 coords = this.getCoordinates(itemStack);
|
||||
int dimension = this.getDimension(itemStack);
|
||||
|
||||
if (coords == null) {
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
// Sneak+right-click saved source block again → clear all of reagent's connections
|
||||
if (coords.xCoord == x && coords.yCoord == y && coords.zCoord == z) {
|
||||
TileEntity pastTile = world.getTileEntity(coords.xCoord, coords.yCoord, coords.zCoord);
|
||||
if (!(pastTile instanceof TEReagentConduit)) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.cannotfind"));
|
||||
return itemStack;
|
||||
}
|
||||
Reagent reagent = this.getReagent(itemStack);
|
||||
if (reagent == null) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.noreagent"));
|
||||
return itemStack;
|
||||
}
|
||||
TEReagentConduit pastRelay = (TEReagentConduit) pastTile;
|
||||
pastRelay.reagentTargetList.remove(reagent);
|
||||
this.setHasSavedCoordinates(itemStack, false);
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation(
|
||||
"message.attunedcrystal.clearedreagent",
|
||||
reagent.name));
|
||||
world.markBlockForUpdate(coords.xCoord, coords.yCoord, coords.zCoord);
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
if (dimension != world.provider.dimensionId || Math.abs(coords.xCoord - x) > maxDistance
|
||||
|| Math.abs(coords.yCoord - y) > maxDistance
|
||||
|| Math.abs(coords.zCoord - z) > maxDistance) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.toofar"));
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
TileEntity pastTile = world.getTileEntity(coords.xCoord, coords.yCoord, coords.zCoord);
|
||||
if (!(pastTile instanceof TEReagentConduit)) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.cannotfind"));
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
Reagent reagent = this.getReagent(itemStack);
|
||||
if (reagent == null) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.noreagent"));
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
TEReagentConduit pastRelay = (TEReagentConduit) pastTile;
|
||||
boolean removed = pastRelay.removeReagentDestinationViaActual(reagent, x, y, z);
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation(
|
||||
removed ? "message.attunedcrystal.removed"
|
||||
: "message.attunedcrystal.error.notremoved"));
|
||||
world.markBlockForUpdate(coords.xCoord, coords.yCoord, coords.zCoord);
|
||||
} else {
|
||||
// No saved coords → cycle reagent selection
|
||||
ReagentContainerInfo[] infos = relay.getContainerInfo(ForgeDirection.UNKNOWN);
|
||||
if (infos != null) {
|
||||
List<Reagent> reagentList = new LinkedList();
|
||||
for (ReagentContainerInfo info : infos) {
|
||||
if (info != null) {
|
||||
ReagentStack reagentStack = info.reagent;
|
||||
if (reagentStack != null) {
|
||||
Reagent reagent = reagentStack.reagent;
|
||||
if (reagent != null) {
|
||||
reagentList.add(reagent);
|
||||
}
|
||||
ReagentContainerInfo[] infos = relay.getContainerInfo(ForgeDirection.UNKNOWN);
|
||||
if (infos != null) {
|
||||
List<Reagent> reagentList = new LinkedList();
|
||||
for (ReagentContainerInfo info : infos) {
|
||||
if (info != null) {
|
||||
ReagentStack reagentStack = info.reagent;
|
||||
if (reagentStack != null) {
|
||||
Reagent reagent = reagentStack.reagent;
|
||||
if (reagent != null) {
|
||||
reagentList.add(reagent);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reagent pastReagent = this.getReagent(itemStack);
|
||||
Reagent pastReagent = this.getReagent(itemStack);
|
||||
|
||||
if (reagentList.size() <= 0) {
|
||||
return itemStack;
|
||||
}
|
||||
if (reagentList.size() <= 0) {
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
int reagentLocation = reagentList.indexOf(pastReagent);
|
||||
int reagentLocation;
|
||||
|
||||
if (reagentLocation == -1 || reagentLocation + 1 >= reagentList.size()) {
|
||||
this.setReagentWithNotification(itemStack, reagentList.get(0), player);
|
||||
} else {
|
||||
this.setReagentWithNotification(
|
||||
itemStack,
|
||||
reagentList.get(reagentLocation + 1),
|
||||
player);
|
||||
}
|
||||
reagentLocation = reagentList.indexOf(pastReagent);
|
||||
|
||||
if (reagentLocation == -1 || reagentLocation + 1 >= reagentList.size()) {
|
||||
this.setReagentWithNotification(itemStack, reagentList.get(0), player);
|
||||
} else {
|
||||
this.setReagentWithNotification(itemStack, reagentList.get(reagentLocation + 1), player);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -290,28 +217,25 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
||||
}
|
||||
|
||||
Reagent reagent = this.getReagent(itemStack);
|
||||
|
||||
if (reagent == null) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.noreagent"));
|
||||
return itemStack;
|
||||
}
|
||||
|
||||
TEReagentConduit pastRelay = (TEReagentConduit) pastTile;
|
||||
if (pastRelay.hasReagentDestination(reagent, x, y, z)) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.duplicate"));
|
||||
} else if (pastRelay.addReagentDestinationViaActual(reagent, x, y, z)) {
|
||||
int used = pastRelay.getTotalConnections();
|
||||
int max = pastRelay.maxConnextions;
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation(
|
||||
"message.attunedcrystal.linked",
|
||||
reagent.name,
|
||||
used,
|
||||
max));
|
||||
|
||||
if (player.isSneaking()) {
|
||||
pastRelay.removeReagentDestinationViaActual(reagent, x, y, z);
|
||||
} else {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.noconnections"));
|
||||
if (pastRelay.addReagentDestinationViaActual(reagent, x, y, z)) {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentText(
|
||||
StatCollector.translateToLocal("message.attunedcrystal.linked") + " "
|
||||
+ reagent.name));
|
||||
} else {
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.error.noconnections"));
|
||||
}
|
||||
}
|
||||
world.markBlockForUpdate(coords.xCoord, coords.yCoord, coords.zCoord);
|
||||
} else {
|
||||
@@ -320,8 +244,7 @@ public class ItemAttunedCrystal extends Item implements IReagentManipulator {
|
||||
this.setDimension(itemStack, dimension);
|
||||
this.setCoordinates(itemStack, new Int3(x, y, z));
|
||||
|
||||
player.addChatComponentMessage(
|
||||
new ChatComponentTranslation("message.attunedcrystal.linking", x, y, z));
|
||||
player.addChatComponentMessage(new ChatComponentTranslation("message.attunedcrystal.linking"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,14 @@ import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.ModItems;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@@ -66,8 +70,31 @@ public class AlchemyReagent extends Item {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,13 @@ import java.util.List;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import WayofTime.alchemicalWizardry.common.ICatalyst;
|
||||
|
||||
public class LengtheningCatalyst extends Item implements ICatalyst {
|
||||
@@ -30,8 +34,31 @@ public class LengtheningCatalyst extends Item implements ICatalyst {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,13 @@ import java.util.List;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import WayofTime.alchemicalWizardry.common.ICatalyst;
|
||||
|
||||
public class PowerCatalyst extends Item implements ICatalyst {
|
||||
@@ -31,8 +35,31 @@ public class PowerCatalyst extends Item implements ICatalyst {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,9 +6,13 @@ import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import WayofTime.alchemicalWizardry.common.IBindingAgent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -32,8 +36,31 @@ public class StandardBindingAgent extends Item implements IBindingAgent {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,9 +7,13 @@ import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
|
||||
import WayofTime.alchemicalWizardry.common.IFillingAgent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -47,8 +51,31 @@ public class WeakFillingAgent extends Item implements IFillingAgent {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
|
||||
boolean par4) {
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
|
||||
par3List.add(StatCollector.translateToLocal("tooltip.alchemy.usedinalchemy"));
|
||||
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(par1ItemStack);
|
||||
|
||||
if (recipe != null) {
|
||||
par3List.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("tooltip.alchemy.recipe"));
|
||||
|
||||
for (ItemStack item : recipe) {
|
||||
if (item != null) {
|
||||
par3List.add("" + item.getDisplayName());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
par3List.add(
|
||||
"-" + StatCollector.translateToLocal("tooltip.alchemy.press")
|
||||
+ " "
|
||||
+ EnumChatFormatting.BLUE
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.shift")
|
||||
+ EnumChatFormatting.GRAY
|
||||
+ " "
|
||||
+ StatCollector.translateToLocal("tooltip.alchemy.forrecipe")
|
||||
+ "-");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,10 @@ public class SigilLava extends ItemBucket implements ArmourUpgrade, ISigil {
|
||||
|
||||
@Override
|
||||
public ItemStack getContainerItem(ItemStack itemStack) {
|
||||
return itemStack;
|
||||
ItemStack copiedStack = itemStack.copy();
|
||||
copiedStack.setItemDamage(copiedStack.getItemDamage() + getEnergyUsed());
|
||||
copiedStack.stackSize = 1;
|
||||
return copiedStack;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -23,7 +23,6 @@ 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 {
|
||||
|
||||
@@ -35,10 +34,7 @@ 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
|
||||
|| (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre)) {
|
||||
return true;
|
||||
}
|
||||
if (block instanceof BlockOre || block instanceof BlockRedstoneOre) return true;
|
||||
|
||||
if (block == null || Item.getItemFromBlock(block) == null) return false;
|
||||
|
||||
|
||||
@@ -318,9 +318,7 @@ public class TEAlchemicCalcinator extends TEReagentConduit implements IInventory
|
||||
|
||||
@Override
|
||||
public boolean isItemValidForSlot(int slot, ItemStack itemStack) {
|
||||
if (itemStack == null) return false;
|
||||
return (slot == 0 && itemStack.getItem() instanceof IBloodOrb)
|
||||
|| (slot == 1 && ReagentRegistry.getReagentStackForItem(itemStack) != null);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -417,31 +417,17 @@ public class TEReagentConduit extends TileSegmentedReagentHandler {
|
||||
readClientNBT(packet.func_148857_g());
|
||||
}
|
||||
|
||||
public int getTotalConnections() {
|
||||
int total = 0;
|
||||
for (List<Int3> list : this.reagentTargetList.values()) {
|
||||
if (list != null) {
|
||||
total += list.size();
|
||||
}
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
||||
public boolean hasReagentDestination(Reagent reagent, int x, int y, int z) {
|
||||
int xOffset = x - this.xCoord;
|
||||
int yOffset = y - this.yCoord;
|
||||
int zOffset = z - this.zCoord;
|
||||
if (this.reagentTargetList.containsKey(reagent)) {
|
||||
List<Int3> coords = this.reagentTargetList.get(reagent);
|
||||
if (coords != null) {
|
||||
return coords.contains(new Int3(xOffset, yOffset, zOffset));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean addReagentDestinationViaOffset(Reagent reagent, int xOffset, int yOffset, int zOffset) {
|
||||
if (getTotalConnections() >= this.maxConnextions) {
|
||||
int totalConnections = 0;
|
||||
|
||||
for (Entry<Reagent, List<Int3>> entry : this.reagentTargetList.entrySet()) {
|
||||
if (entry.getValue() != null) {
|
||||
totalConnections += entry.getValue().size();
|
||||
}
|
||||
}
|
||||
|
||||
if (totalConnections >= this.maxConnextions) {
|
||||
// Send message that it cannot be done? Maybe add a Player instance
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -458,9 +444,6 @@ public class TEReagentConduit extends TileSegmentedReagentHandler {
|
||||
newCoordList.add(newCoord);
|
||||
this.reagentTargetList.put(reagent, newCoordList);
|
||||
} else {
|
||||
if (coordList.contains(newCoord)) {
|
||||
return false;
|
||||
}
|
||||
coordList.add(newCoord);
|
||||
}
|
||||
|
||||
|
||||
@@ -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(StatCollector.translateToLocal("gui.bloodTeleposer.title"), 64, 5, 4210752);
|
||||
fontRendererObj.drawString("Teleposer", 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(StatCollector.translateToLocal("gui.blockWritingTable.title"), 8, 6, 4210752);
|
||||
fontRendererObj.drawString("Alchemic Chemistry Set", 8, 6, 4210752);
|
||||
// draws "Inventory" or your regional equivalent
|
||||
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, 130, 4210752);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 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.1 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 292 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,12 +174,8 @@ 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,9 +264,6 @@ 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
|
||||
@@ -277,11 +274,9 @@ 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%%
|
||||
@@ -428,17 +423,18 @@ tooltip.alchemy.coords=Coords:
|
||||
tooltip.alchemy.damage=Damage:
|
||||
tooltip.alchemy.dimension=Bound Dimension:
|
||||
tooltip.alchemy.direction=Direction:
|
||||
tooltip.alchemy.forrecipe=for Recipe
|
||||
tooltip.alchemy.press=Press
|
||||
tooltip.alchemy.recipe=Recipe:
|
||||
tooltip.alchemy.ritualid=RitualID:
|
||||
tooltip.alchemy.shift=shift
|
||||
tooltip.alchemy.usedinalchemy=Used in Alchemy
|
||||
tooltip.alchemyflask.caution=CAUTION: Contents are throwable
|
||||
tooltip.alchemyflask.swigsleft=Swigs Left:
|
||||
tooltip.armorinhibitor.desc1=Used to suppress a soul's
|
||||
tooltip.armorinhibitor.desc2=unnatural abilities.
|
||||
tooltip.attunedcrystal.desc1=1) Sneak+right-click relay to select reagent
|
||||
tooltip.attunedcrystal.desc2=2) Right-click source relay
|
||||
tooltip.attunedcrystal.desc3=3) Right-click destination relay to link
|
||||
tooltip.attunedcrystal.desc4=Sneak+right-click air to clear selection.
|
||||
tooltip.attunedcrystal.desc5=Sneak+right-click relay to remove/clear links.
|
||||
tooltip.attunedcrystal.desc1=A tool to tune alchemy
|
||||
tooltip.attunedcrystal.desc2=reagent transmission
|
||||
tooltip.blankspell.desc=Crystal of infinite possibilities.
|
||||
tooltip.bloodframe.desc=Stirs bees into a frenzy.
|
||||
tooltip.bloodletterpack.desc=This pack really chafes...
|
||||
@@ -507,7 +503,7 @@ tooltip.ritualdiviner.ritualtunedto=Ritual tuned to face:
|
||||
tooltip.ritualdiviner.waterstones=Water Stones:
|
||||
tooltip.ritualdiviner.dawnstones=Dawn Stones:
|
||||
tooltip.ritualdiviner.totalStones=Total Stones:
|
||||
tooltip.dismantler.desc=You can turn this upside down?
|
||||
tooltip.dismatler.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...
|
||||
@@ -551,21 +547,13 @@ message.altar.progress=Altar's Progress: %,d LP / %,d LP
|
||||
message.altar.inputtank= Input Tank: %,d LP
|
||||
message.altar.outputtank= Output Tank: %,d LP
|
||||
message.altar.hunger=[BM] Your high regeneration rate has caused you to become hungry...
|
||||
message.attunedcrystal.clearing=Cleared saved source and reagent selection.
|
||||
message.attunedcrystal.clearing=Clearing saved container...
|
||||
message.attunedcrystal.error.cannotfind=Can no longer find linked container.
|
||||
message.attunedcrystal.error.noconnections=Linked container has no connections remaining!
|
||||
message.attunedcrystal.error.toofar=Linked container is either too far or is in a different dimension.
|
||||
message.attunedcrystal.error.noreagent=No reagent selected! Sneak+right-click a relay to select one.
|
||||
message.attunedcrystal.error.duplicate=Already connected to that destination!
|
||||
message.attunedcrystal.error.notremoved=No matching connection found to remove.
|
||||
message.attunedcrystal.removed=Connection removed successfully.
|
||||
message.attunedcrystal.clearedreagent=Cleared all %s connections from this relay.
|
||||
message.attunedcrystal.linked=Linked! Transmitting %s. (%s/%s connections used)
|
||||
message.attunedcrystal.linking=Source relay saved at %s, %s, %s. Right-click a destination to link.
|
||||
message.attunedcrystal.linked=Container is now linked. Transmitting:
|
||||
message.attunedcrystal.linking=Linking to selected container.
|
||||
message.attunedcrystal.setto=Attuned Crystal now set to:
|
||||
message.reagentconduit.noconnections=This relay has no routing connections.
|
||||
message.reagentconduit.connections=Routing connections:
|
||||
message.reagentconduit.connection.entry= %s -> (%s, %s, %s)
|
||||
message.demon.shallfollow=I shall follow and protect you!
|
||||
message.demon.willstay=I will stay here for now, Master.
|
||||
message.destinationclearer.cleared=Destination list now cleared.
|
||||
@@ -640,8 +628,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:transcendentOrb=OVERPOWERED
|
||||
achievement.alchemicalwizardry:transcendentOrb.desc=Pick up a Transcendent Blood Orb
|
||||
achievement.alchemicalwizardry:trancsendentOrb=OVERPOWERED
|
||||
achievement.alchemicalwizardry:trancsendentOrb.desc=Pick up a Transcendent Blood Orb
|
||||
|
||||
#Buff
|
||||
bm.buff.drowning=Drowning
|
||||
|
||||
@@ -204,15 +204,11 @@ 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,12 +174,8 @@ 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
|
||||
text.recipe.alchemicCalcinator.reagent=%s AR
|
||||
bm.string.crafting.orb.shapeless=Creazione di un Globo Informe
|
||||
@@ -187,12 +187,8 @@ 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,9 +235,6 @@ 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=Уровень
|
||||
@@ -247,7 +244,6 @@ 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=Элементаль земли
|
||||
@@ -304,7 +300,11 @@ tooltip.alchemy.coords=Координаты:
|
||||
tooltip.alchemy.damage=Урон:
|
||||
tooltip.alchemy.dimension=Связанное измерение:
|
||||
tooltip.alchemy.direction=Направление:
|
||||
tooltip.alchemy.forrecipe=чтобы увидеть рецепт
|
||||
tooltip.alchemy.press=Нажмите
|
||||
tooltip.alchemy.recipe=Рецепт:
|
||||
tooltip.alchemy.ritualid=ID ритуала:
|
||||
tooltip.alchemy.shift=shift,
|
||||
tooltip.alchemy.usedinalchemy=Используется в алхимии
|
||||
tooltip.alchemyflask.caution=ВНИМАНИЕ: Содержимое можно кидать
|
||||
tooltip.alchemyflask.swigsleft=Глотков осталось:
|
||||
|
||||
@@ -251,9 +251,6 @@ 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=层数
|
||||
@@ -264,7 +261,6 @@ 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
|
||||
@@ -400,7 +396,11 @@ tooltip.alchemy.coords=坐标:
|
||||
tooltip.alchemy.damage=攻击伤害:
|
||||
tooltip.alchemy.dimension=绑定世界:
|
||||
tooltip.alchemy.direction=方向:
|
||||
tooltip.alchemy.forrecipe=了解配方
|
||||
tooltip.alchemy.press=对着物品按
|
||||
tooltip.alchemy.recipe=材料:
|
||||
tooltip.alchemy.ritualid=仪式ID:
|
||||
tooltip.alchemy.shift=shift
|
||||
tooltip.alchemy.usedinalchemy=用于炼金术
|
||||
tooltip.alchemyflask.caution=警 告: 内部异常
|
||||
tooltip.alchemyflask.swigsleft=药水剩余:
|
||||
@@ -476,7 +476,7 @@ tooltip.ritualdiviner.ritualtunedto=仪式朝向:
|
||||
tooltip.ritualdiviner.waterstones=水之仪式石:
|
||||
tooltip.ritualdiviner.dawnstones=破晓仪式石:
|
||||
tooltip.ritualdiviner.totalStones=仪式石总数:
|
||||
tooltip.dismantler.desc=你可以把这个颠倒过来?
|
||||
tooltip.dismatler.desc=你可以把这个颠倒过来?
|
||||
tooltip.sacrificialdagger.desc1=手指感到一股轻微的排失似的发痒
|
||||
tooltip.sacrificialdagger.desc2=只是刺一下手指
|
||||
tooltip.sacrificialdagger.desc3=你就能获得力量...
|
||||
@@ -599,8 +599,8 @@ achievement.alchemicalwizardry:energyBazooka=BOOM!!!
|
||||
achievement.alchemicalwizardry:energyBazooka.desc=制作强大的能量火箭筒!!
|
||||
achievement.alchemicalwizardry:demons=恶魔猎手
|
||||
achievement.alchemicalwizardry:demons.desc=杀死恶魔
|
||||
achievement.alchemicalwizardry:transcendentOrb=强上加强
|
||||
achievement.alchemicalwizardry:transcendentOrb.desc=捡起卓越气血宝珠
|
||||
achievement.alchemicalwizardry:trancsendentOrb=强上加强
|
||||
achievement.alchemicalwizardry:trancsendentOrb.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"}},"]"]
|
||||
@@ -609,4 +609,4 @@ bm.versioning.doneDownloading=已完成下载 %s 重新加载您的游戏以进
|
||||
bm.versioning.error=下载mod时出错!
|
||||
bm.versioning.downloadedAlready=你已经拥有最新版本,重新加载游戏以进行更新!
|
||||
bm.versioning.downloadingAlready=正在下载! 耐心点!
|
||||
bm.versioning.disabled=此功能已禁用.
|
||||
bm.versioning.disabled=此功能已禁用.
|
||||
@@ -247,9 +247,6 @@ 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=層數
|
||||
@@ -259,7 +256,6 @@ 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=土之元素精靈
|
||||
@@ -316,7 +312,11 @@ tooltip.alchemy.coords=Coords:
|
||||
tooltip.alchemy.damage=Damage:
|
||||
tooltip.alchemy.dimension=Bound Dimension:
|
||||
tooltip.alchemy.direction=Direction:
|
||||
tooltip.alchemy.forrecipe=for Recipe
|
||||
tooltip.alchemy.press=Press
|
||||
tooltip.alchemy.recipe=Recipe:
|
||||
tooltip.alchemy.ritualid=RitualID:
|
||||
tooltip.alchemy.shift=shift
|
||||
tooltip.alchemy.usedinalchemy=Used in Alchemy
|
||||
tooltip.alchemyflask.caution=CAUTION: Contents are throwable
|
||||
tooltip.alchemyflask.swigsleft=Swigs Left:
|
||||
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 754 B |
|
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 706 B |
|
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 761 B |
|
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 428 B |
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 771 B |
|
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 693 B |
|
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 220 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 974 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 969 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 459 B |
|
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 737 B |
|
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 416 B |
|
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 741 B |
|
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 736 B |
|
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 738 B |
|
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 271 B |
|
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 779 B |
|
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 569 B After Width: | Height: | Size: 572 B |
|
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 734 B |
|
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 622 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 493 B |
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 811 B |
|
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 624 B |