- 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.livingArmour.StatTracker;
|
|||
import WayofTime.bloodmagic.livingArmour.LivingArmour;
|
||||
import WayofTime.bloodmagic.livingArmour.upgrade.LivingArmourUpgradePoisonResist;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.MobEffects;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -46,7 +47,7 @@ public class StatTrackerPoison extends StatTracker
|
|||
@Override
|
||||
public boolean onTick(World world, EntityPlayer player, LivingArmour livingArmour)
|
||||
{
|
||||
if (player.isPotionActive(Potion.getPotionFromResourceLocation("poison")))
|
||||
if (player.isPotionActive(MobEffects.poison))
|
||||
{
|
||||
totalPoisonTicks++;
|
||||
this.markDirty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue