Committing the Ritual stuff
Incomplete. Ritual detection/rotation needs to be implemented. Currently hardcoded to a test ritual
This commit is contained in:
parent
9faae07131
commit
03847ad6d9
9 changed files with 209 additions and 40 deletions
|
@ -43,22 +43,6 @@ public class ItemActivationCrystal extends ItemBindable {
|
|||
tooltip.add(TextHelper.localize("tooltip.BloodMagic.activationCrystal." + names[stack.getItemDamage()]));
|
||||
|
||||
super.addInformation(stack, player, tooltip, advanced);
|
||||
|
||||
// if (stack.getItemDamage() == 1) {
|
||||
// if (Keyboard.isKeyDown(Keyboard.KEY_RSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) {
|
||||
// ItemStack[] recipe = AlchemyRecipeRegistry.getRecipeForItemStack(stack);
|
||||
//
|
||||
// if (recipe != null) {
|
||||
// tooltip.add(TextHelper.getFormattedText(StatCollector.translateToLocal("tooltip.alchemy.recipe")));
|
||||
//
|
||||
// for (ItemStack item : recipe)
|
||||
// if (item != null)
|
||||
// tooltip.add(item.getDisplayName());
|
||||
// }
|
||||
// } else {
|
||||
// tooltip.add(TextHelper.getFormattedText(StatCollector.translateToLocal("tooltip.alchemy.pressShift")));
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
public int getCrystalLevel(ItemStack stack) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue