fix autoeat again holy fuck most deved autoeat ever
This commit is contained in:
parent
8152df14dd
commit
799f3fe361
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ public class AutoEat extends Feature {
|
|||
stack.getItem() instanceof ItemFood //it has to be food bruh
|
||||
&& !(stack.getItem() instanceof ItemChorusFruit) //not a chorus fruit you ret-.... dumbfuck
|
||||
&& ((20 - currentHunger) >= ((ItemFood) stack.getItem()).getHealAmount(stack) //if hunger low and food wanted refills the amount left
|
||||
|| (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 19D && (mc.player.getActivePotionEffect(MobEffects.REGENERATION) == null || mc.player.getActivePotionEffect(MobEffects.ABSORPTION) == null)) //is golden apple and our health is less than 19 and we don't have regen
|
||||
|| (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 10D) // we're in danger, eat! EAT EAT EAT EAT WE BOUTTA DIE
|
||||
|| (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 18 && (mc.player.getActivePotionEffect(MobEffects.REGENERATION) == null || mc.player.getActivePotionEffect(MobEffects.ABSORPTION) == null)) //is golden apple and our health is less than 19 and we don't have regen
|
||||
|| (stack.getItem() instanceof ItemAppleGold && mc.player.getHealth() < 10) // we're in danger, eat! EAT EAT EAT EAT WE BOUTTA DIE
|
||||
|| (stack.getItem() instanceof ItemAppleGold && mc.player.getActivePotionEffect(MobEffects.FIRE_RESISTANCE) == null) && mc.player.isBurning()); //is golden apple and we don't have fire res and we're burning
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue