Swapped the "confusion" potion effect with hunger (Liquid Poison), made the Nourishment and Regeneration effects only apply when inside Spring Water
This commit is contained in:
parent
535dc7e76b
commit
9f06c2397f
4 changed files with 6 additions and 6 deletions
|
@ -321,7 +321,7 @@ public class BlockLiquidPoisonFlowing extends BlockFlowing implements ILiquid
|
|||
if (par5Entity instanceof EntityLiving)
|
||||
{
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.poison.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.confusion.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.hunger.id, 100));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public class BlockLiquidPoisonStill extends BlockStationary implements ILiquid
|
|||
if (par5Entity instanceof EntityLiving)
|
||||
{
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.poison.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.confusion.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.hunger.id, 100));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -317,10 +317,10 @@ public class BlockSpringWaterFlowing extends BlockFlowing implements ILiquid
|
|||
int meta = par1World.getBlockMetadata(x, y, z);
|
||||
|
||||
if (par5Entity instanceof EntityLiving)
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 1));
|
||||
|
||||
if (par5Entity instanceof EntityPlayer)
|
||||
((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 100));
|
||||
((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -57,10 +57,10 @@ public class BlockSpringWaterStill extends BlockStationary implements ILiquid
|
|||
int meta = par1World.getBlockMetadata(x, y, z);
|
||||
|
||||
if (par5Entity instanceof EntityLiving)
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 100));
|
||||
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 1));
|
||||
|
||||
if (par5Entity instanceof EntityPlayer)
|
||||
((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 100));
|
||||
((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue