Revert changes to Sacrificial Dagger
Adds a description that indicates correct usage.
This commit is contained in:
parent
bb8552b4b5
commit
fc57486054
|
@ -73,6 +73,9 @@ public class ItemSacrificialDagger extends Item implements IMeshProvider
|
|||
public void addInformation(ItemStack stack, EntityPlayer player, List<String> list, boolean advanced)
|
||||
{
|
||||
list.addAll(Arrays.asList(TextHelper.cutLongString(TextHelper.localizeEffect("tooltip.BloodMagic.sacrificialDagger.desc"))));
|
||||
|
||||
if (stack.getItemDamage() == 1)
|
||||
list.add(TextHelper.localizeEffect("tooltip.BloodMagic.sacrificialDagger.creative"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -106,7 +109,7 @@ public class ItemSacrificialDagger extends Item implements IMeshProvider
|
|||
return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, stack);
|
||||
}
|
||||
|
||||
int lpAdded = getMetadata(stack) == 1 ? Integer.MAX_VALUE : ConfigHandler.sacrificialDaggerConversion * ConfigHandler.sacrificialDaggerDamage;
|
||||
int lpAdded = ConfigHandler.sacrificialDaggerConversion * ConfigHandler.sacrificialDaggerDamage;
|
||||
|
||||
RayTraceResult rayTrace = rayTrace(world, player, false);
|
||||
if (rayTrace != null && rayTrace.typeOfHit == RayTraceResult.Type.BLOCK)
|
||||
|
|
|
@ -303,6 +303,7 @@ tooltip.BloodMagic.bound.axe.desc=&oDemonic deforestation
|
|||
tooltip.BloodMagic.bound.shovel.desc=&oScrubs floors clean of dirt
|
||||
|
||||
tooltip.BloodMagic.sacrificialDagger.desc=Just a prick of the finger will suffice...
|
||||
tooltip.BloodMagic.sacrificialDagger.creative=Right click an altar while sneaking to fill it
|
||||
tooltip.BloodMagic.slate.desc=Infused stone inside of a Blood Altar
|
||||
tooltip.BloodMagic.inscriber.desc=The writing is on the wall...
|
||||
|
||||
|
|
Loading…
Reference in a new issue