Improved the API and internal workings
Update things Fix some more things Update once more Refactoring and removing unnecessary null checks Woops Fix Nother fix Moar fix Fix imports Update ItemBindable.java
This commit is contained in:
parent
0a2dfb4fd4
commit
3e50dd4117
28 changed files with 389 additions and 340 deletions
|
@ -0,0 +1,15 @@
|
|||
package WayofTime.bloodmagic.api.iface;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
/**
|
||||
* Interface used for any item that can store LP in itself
|
||||
*/
|
||||
public interface IItemLPContainer
|
||||
{
|
||||
int getCapacity();
|
||||
|
||||
void setStoredLP(ItemStack stack, int lp);
|
||||
|
||||
int getStoredLP(ItemStack stack);
|
||||
}
|
|
@ -5,5 +5,5 @@ import WayofTime.bloodmagic.api.soul.EnumDemonWillType;
|
|||
|
||||
public interface IMultiWillTool
|
||||
{
|
||||
public EnumDemonWillType getCurrentType(ItemStack stack);
|
||||
EnumDemonWillType getCurrentType(ItemStack stack);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import WayofTime.bloodmagic.api.soul.EnumDemonWillType;
|
|||
|
||||
public interface ISentientSwordEffectProvider
|
||||
{
|
||||
public boolean applyOnHitEffect(EnumDemonWillType type, ItemStack swordStack, ItemStack providerStack, EntityLivingBase attacker, EntityLivingBase target);
|
||||
boolean applyOnHitEffect(EnumDemonWillType type, ItemStack swordStack, ItemStack providerStack, EntityLivingBase attacker, EntityLivingBase target);
|
||||
|
||||
public boolean providesEffectForWill(EnumDemonWillType type);
|
||||
boolean providesEffectForWill(EnumDemonWillType type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue