Compare commits

...
4 Commits
Author SHA1 Message Date
Abdiel Kavash 485e462a83 Allow the Orb of Armok to work from within a Blood Altar. (#89)
Adds a new method isFilledForFree to IBloodOrb which is false by default, but may be used by orbs like the Orb of Armok to be filled instantly by the Blood Altar.
2025-05-27 15:53:44 -04:00
koolkrafter5 47f5e1e594 Update Readme (#88) 2025-05-26 17:15:26 +02:00
Maya 1546426f30 update 2025-05-25 18:38:52 -06:00
koolkrafter5andMaya 4acfe14b78 Orchestra of the Phantom Hands Improvements (#85)
Co-authored-by: Maya <[email protected]>
2025-05-25 18:38:01 -06:00
21 changed files with 351 additions and 360 deletions

No files matched your search

+55 -61
View File
@@ -1,117 +1,111 @@
#Blood Magic: Alchemical Wizardry
# Blood Magic: Alchemical Wizardry
###Gruesome? Probably. Worth it? Definitely!
###[Downloads](http://minecraft.curseforge.com/mc-mods/224791-blood-magic/files)
### Gruesome? Probably. Worth it? Definitely!
##Information
## Fork
This mod was forked by the GT:NH Team to continue the development of the 1.7.10 branch.
## Information
Have you ever picked up a magic mod for Minecraft, and thought that it was too tame? Was there not enough danger involved when creating your next high-tech gadget? Bored with all of those peaceful animals just staring at you without a care in the world? Well then, I am glad you came here!
Blood Magic is an arcane art that is practiced by mages who attempt to gather a vast amount of power through utilizing a forbidden material: blood. Even though it does grant a huge amount of power, every single action that is performed with this volatile magic can prove deadly. You have been warned.
##Links
## Upstream Blood Magic Links
* Github: [Blood Magic](https://github.com/WayofTime/BloodMagic)
* Twitter: [@WayofTime](https://twitter.com/WayofTime)
* Wiki: Found at [FTBWiki](http://ftbwiki.org/Blood_Magic)
* Wiki: Found at [FTBWiki](http://ftbwiki.org/Blood_Magic). Most information is still relevant for this fork.
* [Minecraft Forum Thread](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290532-bm)
* [Curseforge](http://minecraft.curseforge.com/mc-mods/224791-blood-magic)
* [Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J7SNY7L82PQ82)
* [CurseForge](https://www.curseforge.com/minecraft/mc-mods/blood-magic)
* [Donate to WayofTime on Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J7SNY7L82PQ82)
* [Donate to WayofTime on Patreon](https://www.patreon.com/BloodMagic)
##Issue Reporting
## GT:NH Links
* Wiki: Hosted on [Miraheze](https://wiki.gtnewhorizons.com/wiki/Blood_Magic). Contains both fork-specific and pack-specific information. It is currently very incomplete, so feel free to contribute!
* [Discord](https://discord.gg/gtnh): Talk to other players about Blood Magic and any other mods present in GT:NH.
* [Releases](https://github.com/GTNewHorizons/BloodMagic/releases)
Please include the following:
## Issue Reporting
* Minecraft version
* Blood Magic version
* Forge version/build
* Versions of any mods potentially related to the issue
* Any relevant screenshots are greatly appreciated.
* For crashes:
* Steps to reproduce
* ForgeModLoader-client-0.log (the FML log) from the root folder of the client
**DO NOT** report issues encountered when running this fork to upstream. Report issues for this mod on [the GT:NH issue tracker](https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/new/choose).
##Development Setup
## Development Setup
1. Fork this project to your own Github repository and clone it to your desktop.
2. Navigate to the directory you cloned to. Open a command window there and run `gradlew setupDevWorkspace` then (if you use Eclipse) `gradlew eclipse` or (if you use IDEA) `gradlew idea`.
3. This process will setup [Forge](http://www.minecraftforge.net/forum/), your workspace, and link [MineTweaker](http://minetweaker3.powerofbytes.com/) as a dependency.
2. Navigate to the directory you cloned to. Open a command window there and run (if you use Eclipse) `gradlew eclipse` or (if you use IDEA) `gradlew idea`.
3. This process will setup [Forge](http://www.minecraftforge.net/forum/), your workspace, and all dependencies.
4. Open the project in your IDE of choice.
5. Set `../src/api/java` as a source directory.
[Setup video](https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be) by LexManos. For more information, refer to the [Forge Forums](http://www.minecraftforge.net/forum/index.php/topic,14048.0.html).
##Custom Builds
## Custom Builds
###Custom builds are unsupported. If you have an issue using a build not by me (WayofTime), it is not guaranteed that you will get support.
### Custom builds are unsupported. If you have an issue using a build not by GT:NH, it is not guaranteed that you will get support.
####How to make a custom build:
#### How to make a custom build:
1. Clone directly from this repository to your desktop.
2. Navigate to the directory you cloned to. Open a command window there and run `gradlew build`
3. Once it completes, your new build will be found at `../build/libs/BloodMagic-*.jar`. You can ignore the `deobf`, `sources`, and `javadoc` jars.
3. Once it completes, your new build will be found at `../build/libs/BloodMagic-*.jar`. You can ignore the `api`, `dev`, and `sources` jars.
##License
## License
![CCA4.0](https://licensebuttons.net/l/by/4.0/88x31.png)
Blood Magic: AlchemicalWizardry by WayofTime is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
Blood Magic: Alchemical Wizardry by WayofTime is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
##Installation Instructions
## Installation Instructions
This mod requires "Minecraft Forge" in order to operate. It is incredibly easy to download and set up, so might as well get to it!
This mod requires "Minecraft Forge" in order to operate. It is incredibly easy to download and set up, so you might as well get to it!
1. Download [Forge](http://files.minecraftforge.net/). Usually "Recommended" is best - you want the "universal", not the source. Forge also has an "install" option now, so all you need to do is launch that program and it will make a lovely Forge profile. If you haven't, look up how to use the installer and the new 1.6.x launcher if you are confused!
1. Download [Forge](https://files.minecraftforge.net/net/minecraftforge/forge/index_1.7.10.html). "Recommended" and "Latest" will both yield the same files. Download "Universal" to install it manually. Forge also has an "Installer" option, so all you need to do is launch that program and it will make a lovely Forge profile.
2. Download the latest version of Blood Magic from the [Releases Page](https://github.com/GTNewHorizons/BloodMagic/releases) (ignore versions that end with `-pre` if you are not looking to test in-development features).
3. Place the mod in the `.minecraft/mods` folder. If you use the official Minecraft launcher from Mojang, check [this page](https://minecraft.wiki/w/.minecraft) on the Minecraft Wiki to find it. If you use a different launcher, check its interface for a "Minecraft Folder" button, "View Mods" button, or something similar.
2. Download the latest version of BloodMagic from [Curseforge](http://minecraft.curseforge.com/mc-mods/224791-blood-magic).
## FAQ
3. Place the mod in the **mods** folder of your .minecraft. If you are unsure of where that is located, it is here: `../Users/you/AppData/roaming/.minecraft`.
**Q**: What has changed in the GT:NH fork compared to the final 1.7.10 version released by WayofTime?
##FAQ
**A**: Many things, including:
* Better configuration for meteors summoned by the Mark of the Falling Tower ritual. Run the mod once and check config/BloodMagic/meteors/README for a guide on how to edit the default ones and create your own. The old ModTweaker system should still work, but this new system is far more powerful and configurable for pack developers.
* [Buffs](https://github.com/GTNewHorizons/BloodMagic/pull/15) to various Blood Altar upgrade runes.
* The [Rune of Quickness](https://github.com/GTNewHorizons/BloodMagic/pull/51), a new rune which lowers the Blood Altar's delay between crafts.
* [Improvements](https://github.com/GTNewHorizons/BloodMagic/pull/85) to the Orchestra of the Phantom Hands.
* [Buffs](https://github.com/GTNewHorizons/BloodMagic/pull/83) to the Incense Crucible.
* NEI Handlers for the [Blood Altar's Structure](https://github.com/GTNewHorizons/BloodMagic/pull/81) (requires [StructureLib](https://github.com/GTNewHorizons/StructureLib) and [BlockRenderer6343](https://github.com/GTNewHorizons/BlockRenderer6343)), [Meteors](https://github.com/GTNewHorizons/BloodMagic/pull/17), and the [Alchemic Calcinator](https://github.com/GTNewHorizons/BloodMagic/pull/87).
* Configurable LP costs for many items and rituals.
* Many other bug fixes, new localizations, and quality of life improvements!
**Q**: My weak blood orb doesn't show my current LP! Fix it please.
**A**: The mechanic for viewing the player's essence has changed due to some issues with mechanics. You now need a Divination Sigil to view a player's essence. It does other things, too, so it is worth it!
**A**: You need a Divination Sigil to view your essence. It does other things, too, so it is worth it!
**Q**: Why am I dying so much?
**A**: It might be a good idea to make sure that you have enough essence to do a task. If you don't have enough essence for, say, an imperfect ritual, it will take it out of your health. If your health reaches 0... Well, you don't have to be a genius to see what would happen.
**A**: It might be a good idea to make sure that you have enough essence to do a task. If you don't have enough essence for, say, an imperfect ritual or a sigil, it will take it out of your health. If your health reaches 0... Well, you don't have to be a genius to see what would happen. Note that Rituals will only stop working and give you nausea, not kill you, so you don't have to worry about them quite as much.
**Q**: Waffles?
**A**: Waffles!
**Q**: Where is x? When I watched spotlight "w," it had an item called x. Don't you need x to make y, before you can create z?
**Q**: Where is x? When I watched spotlight "w", it had an item called x. Don't you need x to make y, before you can create z?
**A**: It might be wise to look at an updated spotlight, or check the changelogs. I'm not evil, so I do document everything that I can. There was most likely some issues with balance with the item, so it may have been removed for those reasons. Or you just grabbed the item from NEI without seeing it was a test item, in which case: shame on you!
**A**: It might be wise to look at a spotlight made for 1.7.10 (especially one for GT:NH), or check the changelogs. Versions of Blood Magic for more recent versions of Minecraft have some very different mechanics, which are not present in this version of the mod.
**Q**: Isn't that armour ...
**A**: Yes, the armour texture is from the mod EE2. Pahimar and I are good friends, and I decided to use it for the armour and tools. He has given me his express permission for it, so need not worry!
[Proof](https://twitter.com/Pahimar/status/453590600689139712).
**A**: Yes, the bound armour and tool textures are from the mod EE2. Pahimar and WayofTime are good friends, and Pahimar has given his express permission for it, so need not worry!
[Proof](https://twitter.com/Pahimar/status/453590600689139712), [Archive](https://web.archive.org/web/20191208030719/https://twitter.com/Pahimar/status/453590600689139712).
**Q**: My game is crashing with the latest TC4!
**Q**: I've just had an amazing idea! Why not add an in-game book just like the Thaumonomicon?
**A**: To help stop this, remove the TC4 API from my Blood Magic zip file (if it is there). It should solve things.
**Q**: But, my Thaumcraft aspects are messed up!
**A**: Once again, remove the TC4 API from the Blood Magic zip file to solve this. Azanor changed some aspect combinations.
**Q**: When will 1.7.2 be released?
**A**: It's out! Go get it!
**Q**: Way, I've just had an amazing idea! Why not add an in-game book just like the Thaumonomicon?
**A**: This has been suggested several times. It I being worked on, and is proceeding quite well. Some framework needs to be completed, but it isn't a priority - ALL of the information you need is on this post, or online.
**A**: The Sanguine Scientiem can be created by dropping a Mail Order Catalogue (craftable with [Guide-API](https://www.curseforge.com/minecraft/mc-mods/guide-api) installed). Some of the formatting is off, and it has not been updated with all the information specific to this fork, so readers beware.
**Q**: Why do I not have a Sacrificial Orb? It's only showing up as a knife!
**A**: This is a config option. The person you saw with an orb had a config that changed the knife to an orb. The orb and knife function exactly the same way, but you can change it in the configs by looking for the "Idontlikefun" option.
**A**: This is a config option. The person you saw with an orb had a config that changed the knife to an orb. The orb and knife function exactly the same way, but you can change the way it looks in the configs by looking for the "IDontLikeFun" option.
**Q**: When I respawn, I come back with the "Soul Fray" potion effect and I don't create as much LP with the Sacrificial Dagger/Orb. What's happening?
**Q**: When I respawn, I appear to only come back with 3 hearts. What's happening?
**A**: This is due to another config option in the "WhimpySettings," which is due to my attempt to combat Zerg Rushing. You can disable this if you really want to, but it shouldn't hurt unduly.
**A**: This is due to the config option "RespawnWithDebuff", which was made to combat Zerg Rushing. Instead of dying and respawning again and again, why not look into making an [Incense Crucible](https://ftbwiki.org/Incense_Crucible) to boost the LP from your self-sacrifices, brewing a [refillable healing potion](https://ftbwiki.org/Potion_Flask_(Blood_Magic)) with the Alchemic Chemistry Set, or finding some villagers to show your [Dagger of Sacrifice](https://ftbwiki.org/Dagger_of_Sacrifice) to?
+3 -3
View File
@@ -24,11 +24,11 @@
dependencies {
api("com.github.GTNewHorizons:waila:1.8.6:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.7.45-GTNH:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.7.49-GTNH:dev")
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.309:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.314:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.12.8-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.12.10-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.10.10:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev") {transitive = false }
@@ -1,17 +1,29 @@
package WayofTime.alchemicalWizardry.api;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
public class RoutingFocusLogic {
public boolean getDefaultMatch(ItemStack keyStack, ItemStack checkedStack) {
return (keyStack != null ? checkedStack != null && keyStack.getItem() == checkedStack.getItem()
&& (keyStack.getItem().getHasSubtypes() ? keyStack.getItemDamage() == checkedStack.getItemDamage()
: true)
: false);
return (keyStack != null && keyStack.getItem() != null
&& checkedStack != null
&& keyStack.getItem() == checkedStack.getItem()
&& (!keyStack.getItem().getHasSubtypes() || keyStack.getItemDamage() == checkedStack.getItemDamage()));
}
public boolean doesItemMatch(boolean previous, ItemStack keyStack, ItemStack checkedStack) {
return previous || this.getDefaultMatch(keyStack, checkedStack);
}
public List<String> getDescription() {
return new ArrayList<>(
Collections.singletonList(
StatCollector.translateToLocal("tooltip.routingFocus.logic") + " "
+ StatCollector.translateToLocal("item.outputRoutingFocus.default.logic")));
}
}
@@ -7,9 +7,11 @@ import net.minecraft.item.ItemStack;
public class RoutingFocusParadigm {
public List<RoutingFocusLogic> logicList = new LinkedList();
public List<RoutingFocusLogic> logicList = new LinkedList<>();
public List<RoutingFocusPosAndFacing> locationList = new LinkedList();
public List<RoutingFocusPosAndFacing> locationList = new LinkedList<>();
public List<String> nameList = new LinkedList<>();
public int maximumAmount = 0;
@@ -24,6 +26,14 @@ public class RoutingFocusParadigm {
logicList.add(logic);
}
public void addName(String name) {
nameList.add(name);
}
public boolean doesNameMatch(String name) {
return nameList.contains(name);
}
public boolean doesItemMatch(ItemStack keyStack, ItemStack checkedStack) {
boolean isGood = false;
boolean isFirst = true;
@@ -42,6 +52,7 @@ public class RoutingFocusParadigm {
public void clear() {
logicList.clear();
locationList.clear();
nameList.clear();
maximumAmount = 0;
}
@@ -5,4 +5,8 @@ public interface IBloodOrb {
int getMaxEssence();
int getOrbLevel();
default boolean isFilledForFree() {
return false;
}
}
@@ -32,8 +32,11 @@ public class OutputRoutingFocus extends RoutingFocus implements ILimitedRoutingF
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
boolean par4) {
super.addInformation(par1ItemStack, par2EntityPlayer, par3List, par4);
if (!(par1ItemStack.getItem() instanceof OutputRoutingFocus focus)) return;
par3List.addAll(focus.getLogic(par1ItemStack).getDescription());
if (!(par1ItemStack.getTagCompound() == null)) {
int limit = this.getRoutingFocusLimit(par1ItemStack);
@@ -55,49 +58,18 @@ public class OutputRoutingFocus extends RoutingFocus implements ILimitedRoutingF
@SideOnly(Side.CLIENT)
public IIcon getIconFromDamage(int damage) {
switch (damage) {
case 0:
return this.itemIcon;
case 1:
return this.modItemIcon;
case 2:
return this.ignMetaIcon;
case 3:
return this.matchNBTIcon;
case 4:
return this.globalIcon;
}
return this.itemIcon;
}
@Override
public String getUnlocalizedName(ItemStack itemStack) {
String addedString = "";
switch (itemStack.getItemDamage()) {
case 0:
addedString = "default";
break;
case 1:
addedString = "modItem";
break;
case 2:
addedString = "ignMeta";
break;
case 3:
addedString = "matchNBT";
break;
case 4:
addedString = "global";
break;
}
return super.getUnlocalizedName() + "." + addedString;
return switch (damage) {
case 1 -> this.modItemIcon;
case 2 -> this.ignMetaIcon;
case 3 -> this.matchNBTIcon;
case 4 -> this.globalIcon;
default -> this.itemIcon;
};
}
@Override
@SideOnly(Side.CLIENT)
public void getSubItems(Item id, CreativeTabs creativeTab, List list) {
public void getSubItems(Item id, CreativeTabs creativeTab, List<ItemStack> list) {
for (int meta = 0; meta < 5; ++meta) {
list.add(new ItemStack(id, 1, meta));
}
@@ -106,18 +78,14 @@ public class OutputRoutingFocus extends RoutingFocus implements ILimitedRoutingF
@Override
public RoutingFocusLogic getLogic(ItemStack itemStack) {
if (itemStack != null) {
switch (itemStack.getItemDamage()) {
case 0:
return new RoutingFocusLogicLimitDefault(itemStack);
case 1:
return new RoutingFocusLogicLimitModItems(itemStack);
case 2:
return new RoutingFocusLogicLimitIgnMeta(itemStack);
case 3:
return new RoutingFocusLogicLimitMatchNBT(itemStack);
case 4:
return new RoutingFocusLogicLimitGlobal(itemStack);
}
return switch (itemStack.getItemDamage()) {
case 0 -> new RoutingFocusLogicLimitDefault(itemStack);
case 1 -> new RoutingFocusLogicLimitModItems(itemStack);
case 2 -> new RoutingFocusLogicLimitIgnMeta(itemStack);
case 3 -> new RoutingFocusLogicLimitMatchNBT(itemStack);
case 4 -> new RoutingFocusLogicLimitGlobal(itemStack);
default -> new RoutingFocusLogic();
};
}
return new RoutingFocusLogic();
@@ -74,7 +74,8 @@ public class RoutingFocus extends Item {
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List<String> par3List,
boolean par4) {
par3List.add(StatCollector.translateToLocal(this.getFocusDescription()));
if (!(par1ItemStack.getTagCompound() == null)) {
@@ -89,7 +90,9 @@ public class RoutingFocus extends Item {
+ itemTag.getInteger("zCoord"));
par3List.add(
StatCollector.translateToLocal("tooltip.alchemy.direction") + " "
+ this.getSetDirection(par1ItemStack));
+ StatCollector.translateToLocal(
"message.ritual.side."
+ this.getSetDirection(par1ItemStack).toString().toLowerCase()));
}
}
@@ -168,4 +171,17 @@ public class RoutingFocus extends Item {
public RoutingFocusLogic getLogic(ItemStack itemStack) {
return new RoutingFocusLogic();
}
public String getName(ItemStack stack) {
if (stack.hasTagCompound()) {
NBTTagCompound tag = stack.getTagCompound();
if (tag.hasKey("display", 10)) {
NBTTagCompound display = tag.getCompoundTag("display");
if (display.hasKey("Name", 8)) {
return display.getString("Name");
}
}
}
return "";
}
}
@@ -1,10 +1,7 @@
package WayofTime.alchemicalWizardry.common.rituals;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ISidedInventory;
@@ -20,226 +17,142 @@ import WayofTime.alchemicalWizardry.api.RoutingFocusPosAndFacing;
import WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone;
import WayofTime.alchemicalWizardry.api.rituals.RitualComponent;
import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.items.routing.InputRoutingFocus;
import WayofTime.alchemicalWizardry.common.items.routing.OutputRoutingFocus;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
public class RitualEffectItemRouting extends RitualEffect {
Random rand = new Random();
private static final Int3[] INPUT_BUFFER_LOCATIONS = { new Int3(1, 0, 0), new Int3(-1, 0, 0), new Int3(0, 0, 1),
new Int3(0, 0, -1) };
private static final Int3[] OUTPUT_BUFFER_LOCATIONS = { new Int3(2, 0, 2), new Int3(-2, 0, 2), new Int3(2, 0, -2),
new Int3(-2, 0, -2) };
@Override
public void performEffect(IMasterRitualStone ritualStone) {
String owner = ritualStone.getOwner();
int currentEssence = SoulNetworkHandler.getCurrentEssence(owner);
World world = ritualStone.getWorld();
int x = ritualStone.getXCoord();
int y = ritualStone.getYCoord();
int z = ritualStone.getZCoord();
if (world.getTotalWorldTime() % 20 != 0) {
return;
if (world.getTotalWorldTime() % 20 != 0) return;
List<IInventory> outputFocusChests = findBufferChests(world, x, y, z, OUTPUT_BUFFER_LOCATIONS);
if (outputFocusChests.isEmpty()) return;
List<IInventory> inputFocusChests = findBufferChests(world, x, y, z, INPUT_BUFFER_LOCATIONS);
if (inputFocusChests.isEmpty()) return;
for (IInventory outputFoci : outputFocusChests) {
processOutputFoci(world, outputFoci, inputFocusChests);
}
}
Map<Int3, IInventory> tileMap = new HashMap();
private void processOutputFoci(World world, IInventory outputFoci, List<IInventory> inputFocusChests) {
RoutingFocusParadigm paradigm = new RoutingFocusParadigm();
boolean lastItemWasFocus = true;
List<IInventory> outputList = new ArrayList();
for (int i = 0; i < 4; i++) // Check output foci chests, return if none available
{
Int3 outputFocusChest = this.getOutputBufferChestLocation(i);
TileEntity outputFocusInv = world.getTileEntity(
x + outputFocusChest.xCoord,
y + outputFocusChest.yCoord,
z + outputFocusChest.zCoord);
if (outputFocusInv instanceof IInventory) {
outputList.add((IInventory) outputFocusInv);
for (int i = 0; i < outputFoci.getSizeInventory(); i++) {
ItemStack keyStack = outputFoci.getStackInSlot(i);
if (keyStack == null) continue;
if (keyStack.getItem() instanceof OutputRoutingFocus outputFocus) {
if (!lastItemWasFocus) paradigm.clear();
paradigm.addRoutingFocusPosAndFacing(outputFocus.getPosAndFacing(keyStack));
paradigm.addLogic(outputFocus.getLogic(keyStack));
paradigm.addName(outputFocus.getName(keyStack));
lastItemWasFocus = true;
continue;
}
}
lastItemWasFocus = false;
if (outputList.isEmpty()) {
return;
}
for (RoutingFocusPosAndFacing posAndFacing : paradigm.locationList) {
if (posAndFacing == null) continue;
ForgeDirection inputDirection = posAndFacing.facing;
TileEntity outputTarget = world.getTileEntity(
posAndFacing.location.xCoord,
posAndFacing.location.yCoord,
posAndFacing.location.zCoord);
for (IInventory outputFocusInventory : outputList) {
{
OutputRoutingFocus outputFocus;;
if (!(outputTarget instanceof IInventory outputInventory)) continue;
RoutingFocusParadigm parad = new RoutingFocusParadigm();
TileEntity outputChest = null; // Destination
ForgeDirection inputDirection;
{
IInventory outputChestInventory = null;
boolean lastItemWasFocus = true;
for (int j = 0; j < outputFocusInventory.getSizeInventory(); j++) {
ItemStack keyStack = outputFocusInventory.getStackInSlot(j);
if (keyStack == null) {
continue;
}
if (keyStack.getItem() instanceof OutputRoutingFocus) {
if (!lastItemWasFocus) {
parad.clear();
}
outputFocus = (OutputRoutingFocus) keyStack.getItem();
parad.addRoutingFocusPosAndFacing(outputFocus.getPosAndFacing(keyStack));
parad.addLogic(outputFocus.getLogic(keyStack));
lastItemWasFocus = true;
continue;
} else {
lastItemWasFocus = false;
}
for (RoutingFocusPosAndFacing posAndFacing : parad.locationList) {
if (posAndFacing == null) {
continue;
}
inputDirection = posAndFacing.facing;
if (outputChest == null || !posAndFacing.location
.equals(new Int3(outputChest.xCoord, outputChest.yCoord, outputChest.zCoord))) {
outputChest = world.getTileEntity(
posAndFacing.location.xCoord,
posAndFacing.location.yCoord,
posAndFacing.location.zCoord);
if (outputChest instanceof IInventory) {
outputChestInventory = (IInventory) outputChest;
} else {
continue;
}
}
for (int i = 0; i < 4; i++) {
Int3 inputFocusChest = this.getInputBufferChestLocation(i);
TileEntity inputFocusInv = world.getTileEntity(
x + inputFocusChest.xCoord,
y + inputFocusChest.yCoord,
z + inputFocusChest.zCoord);
if (inputFocusInv instanceof IInventory) {
for (int ji = 0; ji < ((IInventory) inputFocusInv).getSizeInventory(); ji++) // Iterate
// through
// foci
// inventory
{
ItemStack inputFocusStack = ((IInventory) inputFocusInv).getStackInSlot(ji);
if (inputFocusStack != null
&& inputFocusStack.getItem() instanceof InputRoutingFocus) {
InputRoutingFocus inputFocus = (InputRoutingFocus) inputFocusStack
.getItem();
TileEntity inputChest = world.getTileEntity(
inputFocus.xCoord(inputFocusStack),
inputFocus.yCoord(inputFocusStack),
inputFocus.zCoord(inputFocusStack));
if (inputChest instanceof IInventory) {
IInventory inputChestInventory = (IInventory) inputChest;
ForgeDirection syphonDirection = inputFocus
.getSetDirection(inputFocusStack);
boolean[] canSyphonList = new boolean[inputChestInventory
.getSizeInventory()];
if (inputChest instanceof ISidedInventory) {
int[] validSlots = ((ISidedInventory) inputChest)
.getAccessibleSlotsFromSide(syphonDirection.ordinal());
for (int in : validSlots) {
canSyphonList[in] = true;
}
} else {
for (int ni = 0; ni
< inputChestInventory.getSizeInventory(); ni++) {
canSyphonList[ni] = true;
}
}
for (int ni = 0; ni < inputChestInventory.getSizeInventory(); ni++) {
if (canSyphonList[ni]) {
ItemStack syphonedStack = inputChestInventory
.getStackInSlot(ni); // Has a syphoned item linked, next
// need to find a
// destination
if (syphonedStack == null
|| (inputChestInventory instanceof ISidedInventory
&& !((ISidedInventory) inputChestInventory)
.canExtractItem(
ni,
syphonedStack,
syphonDirection.ordinal()))) {
continue;
}
int size = syphonedStack.stackSize;
if (parad.doesItemMatch(keyStack, syphonedStack)) {
ItemStack newStack = null;
if (parad.maximumAmount <= 0) {
newStack = SpellHelper.insertStackIntoInventory(
syphonedStack,
outputChestInventory,
inputDirection);
} else {
newStack = SpellHelper.insertStackIntoInventory(
syphonedStack,
outputChestInventory,
inputDirection,
parad.maximumAmount);
}
if (size == newStack.stackSize) {
continue;
}
int numberSyphoned = size - newStack.stackSize;
if (newStack != null && newStack.stackSize <= 0) {
size = newStack.stackSize;
newStack = null;
}
inputChestInventory.setInventorySlotContents(ni, newStack);
// break;
}
}
}
}
}
}
}
}
}
}
for (IInventory inputFoci : inputFocusChests) {
processInputFoci(world, inputFoci, keyStack, paradigm, outputInventory, inputDirection);
}
}
}
}
public Int3 getInputBufferChestLocation(int number) {
switch (number) {
case 0:
return new Int3(1, 0, 0);
case 1:
return new Int3(-1, 0, 0);
case 2:
return new Int3(0, 0, 1);
case 3:
return new Int3(0, 0, -1);
private void processInputFoci(World world, IInventory inputFoci, ItemStack keyStack, RoutingFocusParadigm paradigm,
IInventory outputInventory, ForgeDirection inputDirection) {
for (int i = 0; i < inputFoci.getSizeInventory(); i++) {
ItemStack inputFocusStack = inputFoci.getStackInSlot(i);
if (inputFocusStack == null || !(inputFocusStack.getItem() instanceof InputRoutingFocus inputFocus))
continue;
if (!paradigm.doesNameMatch(inputFocus.getName(inputFocusStack))) continue;
TileEntity inputTarget = world.getTileEntity(
inputFocus.xCoord(inputFocusStack),
inputFocus.yCoord(inputFocusStack),
inputFocus.zCoord(inputFocusStack));
if (!(inputTarget instanceof IInventory inputChest)) continue;
boolean[] slotList = checkSlots(inputChest, inputFocus.getSetDirection(inputFocusStack));
for (int j = 0; j < inputChest.getSizeInventory(); j++) {
if (!slotList[j]) continue;
ItemStack syphonedStack = inputChest.getStackInSlot(j);
if (!canExtractItem(inputChest, j, syphonedStack, inputFocus.getSetDirection(inputFocusStack)))
continue;
if (paradigm.doesItemMatch(keyStack, syphonedStack)) {
ItemStack newStack = insertStackWithLimit(
syphonedStack,
outputInventory,
inputDirection,
paradigm.maximumAmount);
inputChest.setInventorySlotContents(
j,
(newStack != null && newStack.stackSize > 0) ? newStack : null);
}
}
}
return new Int3(0, 0, 0);
}
public Int3 getOutputBufferChestLocation(int number) {
switch (number) {
case 0:
return new Int3(2, 0, 2);
case 1:
return new Int3(-2, 0, 2);
case 2:
return new Int3(2, 0, -2);
case 3:
return new Int3(-2, 0, -2);
private boolean[] checkSlots(IInventory inventory, ForgeDirection direction) {
boolean[] result = new boolean[inventory.getSizeInventory()];
if (inventory instanceof ISidedInventory sidedInv) {
int[] validSlots = sidedInv.getAccessibleSlotsFromSide(direction.ordinal());
for (int slot : validSlots) result[slot] = true;
} else {
for (int i = 0; i < inventory.getSizeInventory(); i++) result[i] = true;
}
return new Int3(0, 0, 0);
return result;
}
private boolean canExtractItem(IInventory inventory, int slot, ItemStack stack, ForgeDirection direction) {
return stack != null && (!(inventory instanceof ISidedInventory)
|| ((ISidedInventory) inventory).canExtractItem(slot, stack, direction.ordinal()));
}
private ItemStack insertStackWithLimit(ItemStack stack, IInventory inventory, ForgeDirection direction,
int maxAmount) {
return maxAmount <= 0 ? SpellHelper.insertStackIntoInventory(stack, inventory, direction)
: SpellHelper.insertStackIntoInventory(stack, inventory, direction, maxAmount);
}
private List<IInventory> findBufferChests(World world, int x, int y, int z, Int3[] locations) {
List<IInventory> chestList = new ArrayList<>();
for (Int3 chestLocation : locations) {
TileEntity tileEntity = world
.getTileEntity(x + chestLocation.xCoord, y + chestLocation.yCoord, z + chestLocation.zCoord);
if (tileEntity instanceof IInventory inv) {
chestList.add(inv);
}
}
return chestList;
}
@Override
@@ -249,14 +162,14 @@ public class RitualEffectItemRouting extends RitualEffect {
@Override
public List<RitualComponent> getRitualComponentList() {
ArrayList<RitualComponent> omegaRitual = new ArrayList();
ArrayList<RitualComponent> itemRoutingRitual = new ArrayList<>();
this.addCornerRunes(omegaRitual, 1, 0, RitualComponent.BLANK);
this.addOffsetRunes(omegaRitual, 2, 1, 0, RitualComponent.FIRE);
this.addParallelRunes(omegaRitual, 4, 0, RitualComponent.WATER);
this.addParallelRunes(omegaRitual, 5, 0, RitualComponent.EARTH);
this.addCornerRunes(omegaRitual, 4, 0, RitualComponent.WATER);
this.addCornerRunes(itemRoutingRitual, 1, 0, RitualComponent.BLANK);
this.addOffsetRunes(itemRoutingRitual, 2, 1, 0, RitualComponent.FIRE);
this.addParallelRunes(itemRoutingRitual, 4, 0, RitualComponent.WATER);
this.addParallelRunes(itemRoutingRitual, 5, 0, RitualComponent.EARTH);
this.addCornerRunes(itemRoutingRitual, 4, 0, RitualComponent.WATER);
return omegaRitual;
return itemRoutingRitual;
}
}
@@ -1,6 +1,11 @@
package WayofTime.alchemicalWizardry.common.routing;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.api.RoutingFocusLogic;
@@ -8,6 +13,14 @@ public class RoutingFocusLogicIgnMeta extends RoutingFocusLogic {
@Override
public boolean getDefaultMatch(ItemStack keyStack, ItemStack checkedStack) {
return (keyStack != null ? checkedStack != null && keyStack.getItem() == checkedStack.getItem() : false);
return (keyStack != null && checkedStack != null && keyStack.getItem() == checkedStack.getItem());
}
@Override
public List<String> getDescription() {
return new ArrayList<>(
Collections.singletonList(
StatCollector.translateToLocal("tooltip.routingFocus.logic") + " "
+ StatCollector.translateToLocal("item.outputRoutingFocus.ignMeta.logic")));
}
}
@@ -11,8 +11,6 @@ public class RoutingFocusLogicLimitDefault extends RoutingFocusLogicLimit {
public RoutingFocusLogicLimitDefault(ItemStack stack) {
if (stack != null && stack.getItem() instanceof ILimitedRoutingFocus) {
limit = ((ILimitedRoutingFocus) stack.getItem()).getRoutingFocusLimit(stack);
} else {
limit = 0;
}
}
@@ -1,6 +1,11 @@
package WayofTime.alchemicalWizardry.common.routing;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.common.items.routing.ILimitedRoutingFocus;
@@ -11,8 +16,6 @@ public class RoutingFocusLogicLimitGlobal extends RoutingFocusLogicLimit {
public RoutingFocusLogicLimitGlobal(ItemStack stack) {
if (stack != null && stack.getItem() instanceof ILimitedRoutingFocus) {
limit = ((ILimitedRoutingFocus) stack.getItem()).getRoutingFocusLimit(stack);
} else {
limit = 0;
}
}
@@ -25,4 +28,12 @@ public class RoutingFocusLogicLimitGlobal extends RoutingFocusLogicLimit {
public boolean getDefaultMatch(ItemStack keyStack, ItemStack checkedStack) {
return true;
}
@Override
public List<String> getDescription() {
return new ArrayList<>(
Collections.singletonList(
StatCollector.translateToLocal("tooltip.routingFocus.logic") + " "
+ StatCollector.translateToLocal("item.outputRoutingFocus.global.logic")));
}
}
@@ -12,8 +12,6 @@ public class RoutingFocusLogicLimitIgnMeta extends RoutingFocusLogicIgnMeta impl
public RoutingFocusLogicLimitIgnMeta(ItemStack stack) {
if (stack != null && stack.getItem() instanceof ILimitedRoutingFocus) {
limit = ((ILimitedRoutingFocus) stack.getItem()).getRoutingFocusLimit(stack);
} else {
limit = 0;
}
}
@@ -12,8 +12,6 @@ public class RoutingFocusLogicLimitMatchNBT extends RoutingFocusLogicMatchNBT im
public RoutingFocusLogicLimitMatchNBT(ItemStack stack) {
if (stack != null && stack.getItem() instanceof ILimitedRoutingFocus) {
limit = ((ILimitedRoutingFocus) stack.getItem()).getRoutingFocusLimit(stack);
} else {
limit = 0;
}
}
@@ -12,8 +12,6 @@ public class RoutingFocusLogicLimitModItems extends RoutingFocusLogicModItems im
public RoutingFocusLogicLimitModItems(ItemStack stack) {
if (stack != null && stack.getItem() instanceof ILimitedRoutingFocus) {
limit = ((ILimitedRoutingFocus) stack.getItem()).getRoutingFocusLimit(stack);
} else {
limit = 0;
}
}
@@ -1,20 +1,34 @@
package WayofTime.alchemicalWizardry.common.routing;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.api.RoutingFocusLogic;
public class RoutingFocusLogicMatchNBT extends RoutingFocusLogic {
public boolean getDefaultMatch(ItemStack keyStack, ItemStack checkedStack) {
return (keyStack != null ? checkedStack != null && keyStack.getItem() == checkedStack.getItem()
&& (keyStack.getItem().getHasSubtypes() ? keyStack.getItemDamage() == checkedStack.getItemDamage()
: true)
&& keyStack.areItemStackTagsEqual(keyStack, checkedStack) : false);
return (keyStack != null && keyStack.getItem() != null
&& checkedStack != null
&& keyStack.getItem() == checkedStack.getItem()
&& (!keyStack.getItem().getHasSubtypes() || keyStack.getItemDamage() == checkedStack.getItemDamage())
&& ItemStack.areItemStackTagsEqual(keyStack, checkedStack));
}
@Override
public boolean doesItemMatch(boolean previous, ItemStack keyStack, ItemStack checkedStack) {
return previous && this.getDefaultMatch(keyStack, checkedStack);
}
@Override
public List<String> getDescription() {
return new ArrayList<>(
Collections.singletonList(
StatCollector.translateToLocal("tooltip.routingFocus.logic") + " "
+ StatCollector.translateToLocal("item.outputRoutingFocus.matchNBT.logic")));
}
}
@@ -1,7 +1,12 @@
package WayofTime.alchemicalWizardry.common.routing;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.api.RoutingFocusLogic;
import cpw.mods.fml.common.registry.GameData;
@@ -23,11 +28,19 @@ public class RoutingFocusLogicModItems extends RoutingFocusLogic {
String str = GameData.getItemRegistry().getNameForObject(itm);
if (!str.isEmpty()) {
String[] strs = str.split(":");
if (strs != null && strs.length >= 1) {
if (strs.length >= 1) {
return strs[0];
}
}
return "";
}
@Override
public List<String> getDescription() {
return new ArrayList<>(
Collections.singletonList(
StatCollector.translateToLocal("tooltip.routingFocus.logic") + " "
+ StatCollector.translateToLocal("item.outputRoutingFocus.modItem.logic")));
}
}
@@ -629,6 +629,30 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I
return;
}
if (item.isFilledForFree()) {
// Fill owner's network to the maximum, affected by altar runes.
SoulNetworkHandler.addCurrentEssenceToMaximum(
ownerName,
Integer.MAX_VALUE,
(int) Math.min(Integer.MAX_VALUE, (long) item.getMaxEssence() * this.orbCapacityMultiplier));
if (totalWorldTime % 4 == 0) {
SpellHelper.sendIndexedParticleToAllAround(
worldObj,
xCoord,
yCoord,
zCoord,
20,
worldObj.provider.dimensionId,
3,
xCoord,
yCoord,
zCoord);
}
return;
}
if (fluid != null && fluid.amount >= 1) {
int liquidDrained = Math.min(
(int) (upgradeLevel >= 2 ? consumptionRate * (1 + consumptionMultiplier) : consumptionRate),
@@ -230,11 +230,11 @@ item.itemMailCatalogue.name=Mail Order Catalogue
item.inputRoutingFocus.name=Input Routing Focus
item.bloodMagicBaseItem.EnderShard.name=Ender Shard
item.outputRoutingFocus.name=Output Routing Focus
item.outputRoutingFocus.default.name=Default Output Routing Focus
item.outputRoutingFocus.modItem.name=Output Routing Focus (ModItem)
item.outputRoutingFocus.ignMeta.name=Output Routing Focus (Ignore Meta)
item.outputRoutingFocus.matchNBT.name=Output Routing Focus (MatchNBT)
item.outputRoutingFocus.global.name=Output Routing Focus (Global)
item.outputRoutingFocus.default.logic=Match Item & Meta
item.outputRoutingFocus.modItem.logic=Match Mod
item.outputRoutingFocus.ignMeta.logic=Match Item, Ignore Meta
item.outputRoutingFocus.matchNBT.logic=Match Item, Meta, & NBT
item.outputRoutingFocus.global.logic=Move Everything
item.dawnScribeTool.name=Elemental Inscription Tool: Dawn
item.boundHelmetEarth.name=Earth Omega Helmet
item.boundPlateEarth.name=Earth Omega Plate
@@ -533,6 +533,7 @@ tooltip.telepositionfocus.desc=An Enderpearl imbued with blood
tooltip.voidsigil.desc=Better than a Swiffer!
tooltip.watersigil.desc=Infinite water, anyone?
tooltip.routingFocus.limit=Limit:
tooltip.routingFocus.logic=Logic:
tooltip.routingFocus.desc=A focus used to route items
tooltip.alchemy.usedinincense=Purifying incense used in a crucible
@@ -566,6 +567,8 @@ message.masterstone.ritualresistyou=The ritual appears to actively resist you!
message.masterstone.somethingstoppedyou=Something stopped you in your tracks...
message.masterstone.youfeelapull=You feel a pull, but you are too weak to push any further.
message.ritual.currentritual=Current Ritual:
message.ritual.side.up=UP
message.ritual.side.down=DOWN
message.ritual.side.east=EAST
message.ritual.side.north=NORTH
message.ritual.side.south=SOUTH
@@ -212,11 +212,7 @@ item.transcendentBloodOrb.name=Трансцендентальный кровав
item.itemMailCatalogue.name=Mail Order Catalogue
item.inputRoutingFocus.name=Фокус направления входа
item.bloodMagicBaseItem.EnderShard.name=Осколок Края
item.outputRoutingFocus.default.name=Обычный фокус направления выхода
item.outputRoutingFocus.modItem.name=Фокус направления выхода (ModItem)
item.outputRoutingFocus.ignMeta.name=Фокус направления выхода (Ignore Meta)
item.outputRoutingFocus.matchNBT.name=Фокус направления выхода (MatchNBT)
item.outputRoutingFocus.global.name=Фокус направления выхода (Global)
item.outputRoutingFocus.name=фокус направления выхода
item.dawnScribeTool.name=Elemental Inscription Tool: Dawn
item.boundHelmetEarth.name=Земляной омега шлем
item.boundPlateEarth.name=Земляная омега кираса
@@ -444,6 +440,8 @@ message.masterstone.ritualresistyou=Ритуал, кажется, защищае
message.masterstone.somethingstoppedyou=Что-то останавливает Вас...
message.masterstone.youfeelapull=Вы чувствуете втягивание, но Вы слишком слабы, чтобы толкать дальше.
message.ritual.currentritual=Текущий ритуал:
message.ritual.side.up=ВВЕРХ
message.ritual.side.down=ВНИЗ
message.ritual.side.east=ВОСТОК
message.ritual.side.north=СЕВЕР
message.ritual.side.south=ЮГ
@@ -218,11 +218,11 @@ item.transcendentBloodOrb.name=卓越气血宝珠
item.itemMailCatalogue.name=邮购目录
item.inputRoutingFocus.name=输入路由核心
item.bloodMagicBaseItem.EnderShard.name=末影碎片
item.outputRoutingFocus.default.name=输出路由核心(默认)
item.outputRoutingFocus.modItem.name=输出路由核心(模组物品)
item.outputRoutingFocus.ignMeta.name=输出路由核心(数据值忽视)
item.outputRoutingFocus.matchNBT.name=输出路由核心(NBT匹配)
item.outputRoutingFocus.global.name=输出路由核心(Global)
item.outputRoutingFocus.name=输出路由核心
item.outputRoutingFocus.default.logic=默认
item.outputRoutingFocus.modItem.logic=模组物品
item.outputRoutingFocus.ignMeta.logic=数据值忽视
item.outputRoutingFocus.matchNBT.logic=NBT匹配
item.dawnScribeTool.name=元素铭文:破晓
item.boundHelmetEarth.name=土`欧米伽头盔
item.boundPlateEarth.name=土`欧米伽胸甲
@@ -539,6 +539,8 @@ message.masterstone.ritualresistyou=仪式似乎在积极的抵抗你!
message.masterstone.somethingstoppedyou=有什么东西使你的路径堵塞...
message.masterstone.youfeelapull=你感到一股拉力,但没有足够的能量促进其发生.
message.ritual.currentritual=目前仪式:
message.ritual.side.up=上
message.ritual.side.down=下
message.ritual.side.east=东
message.ritual.side.north=北
message.ritual.side.south=南
@@ -213,11 +213,12 @@ item.transcendentBloodOrb.name=卓越氣血寶珠
item.itemMailCatalogue.name=Mail Order Catalogue
item.inputRoutingFocus.name=Input Routing Focus
item.bloodMagicBaseItem.EnderShard.name=Ender Shard
item.outputRoutingFocus.default.name=Default Output Routing Focus
item.outputRoutingFocus.modItem.name=Output Routing Focus (ModItem)
item.outputRoutingFocus.ignMeta.name=Output Routing Focus (Ignore Meta)
item.outputRoutingFocus.matchNBT.name=Output Routing Focus (MatchNBT)
item.outputRoutingFocus.global.name=Output Routing Focus (Global)
item.outputRoutingFocus.name=Default Output Routing Focus
item.outputRoutingFocus.default.logic=Match Item & Meta
item.outputRoutingFocus.modItem.logic=Match Mod
item.outputRoutingFocus.ignMeta.logic=Match Item, Ignore Meta
item.outputRoutingFocus.matchNBT.logic=Match Item, Meta, & NBT
item.outputRoutingFocus.global.logic=Move Everything
item.dawnScribeTool.name=Elemental Inscription Tool: Dawn
item.boundHelmetEarth.name=Earth Omega Helmet
item.boundPlateEarth.name=Earth Omega Plate
@@ -452,6 +453,8 @@ message.masterstone.ritualresistyou=The ritual appears to actively resist you!
message.masterstone.somethingstoppedyou=Something stopped you in your tracks...
message.masterstone.youfeelapull=You feel a pull, but you are too weak to push any further.
message.ritual.currentritual=Current Ritual:
message.ritual.side.up=上
message.ritual.side.down=下
message.ritual.side.east=東
message.ritual.side.north=北
message.ritual.side.south=南