duct tape solution.

Tested if i jump with no Armor i died.
Featherwings 2,5 Hearts left = 25% damage reduction
Thaumium Wings 5 Hearts left = 50% damage reduction
Nano Wings 7,5 Hearts left = 75% damage reduction
Quantum Wings 10 Hearts left = 100% damage reduction
This commit is contained in:
Dream-Master committed 2016-10-13 17:55:15 +02:00
1 parent 9c4f0034fb
commit 30d0534377
3 files changed
+7 -1

No files matched your search

@@ -115,5 +115,8 @@ public class ItemFeatherWing extends ItemArmor {
if (player.isSneaking() && !player.onGround && player.motionY < 0) {
player.motionY *= 0.6;
}
if (player.fallDistance > 0.0F) {
player.fallDistance-= player.fallDistance/40;
}
}
}
@@ -67,7 +67,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing implements IElectri
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
this.useWings(player, stack, world, 0.25f, 0.6f, 0.3f, 5);
if (player.fallDistance > 0.0F) {
player.fallDistance = 0;
player.fallDistance-= player.fallDistance/8;
}
}
@@ -57,5 +57,8 @@ public class ItemThaumiumReinforcedWing extends ItemFeatherWing implements IVisD
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
this.useWings(player, stack, world, 0.15f, 0.7f, 0.5f, 0);
if (player.fallDistance > 0.0F) {
player.fallDistance -= player.fallDistance /25;
}
}
}