- Changed the growth behavior of the crystals
- Fixed Potion getting for various methods - Started work on crystal automation ritual - Finished first iteration of the iterator of AreaDescriptor
This commit is contained in:
parent
78ed6a18e4
commit
f0730791f7
20 changed files with 298 additions and 109 deletions
|
@ -6,6 +6,7 @@ import WayofTime.bloodmagic.api.ritual.*;
|
|||
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.MobEffects;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
|
@ -55,7 +56,7 @@ public class RitualRegeneration extends Ritual
|
|||
float health = player.getHealth();
|
||||
if (health <= player.getMaxHealth() - 1)
|
||||
{
|
||||
player.addPotionEffect(new PotionEffect(Potion.getPotionFromResourceLocation("regeneration"), 50, 0, false, false));
|
||||
player.addPotionEffect(new PotionEffect(MobEffects.regeneration, 50, 0, false, false));
|
||||
|
||||
totalEffects++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue