Now causes nausea when passive operations (such as rituals or the Lava Crystal).
Added the Lava crystal model.
This commit is contained in:
parent
6fb409f20f
commit
65d75313cb
10 changed files with 54 additions and 11 deletions
|
@ -94,6 +94,17 @@ public class ItemBindable extends Item implements IBindable
|
|||
return false;
|
||||
}
|
||||
|
||||
public static boolean canSyphonFromNetwork(ItemStack stack, int lpRequested)
|
||||
{
|
||||
if (stack.getItem() instanceof ItemBindable)
|
||||
{
|
||||
ItemBindable itemBindable = (ItemBindable) stack.getItem();
|
||||
return !Strings.isNullOrEmpty(itemBindable.getBindableOwner(stack)) && NetworkHelper.canSyphonFromContainer(stack, lpRequested);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void hurtPlayer(EntityPlayer user, int lpSyphoned)
|
||||
{
|
||||
if (user != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue