mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 06:43:01 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f55404bf3d | ||
|
|
49b72f3f28 |
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
// Add your dependencies here
|
// Add your dependencies here
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api 'com.github.GTNewHorizons:GT5-Unofficial:5.09.45.25:dev'
|
api 'com.github.GTNewHorizons:GT5-Unofficial:5.09.45.60:dev'
|
||||||
api 'com.github.GTNewHorizons:Baubles:1.0.4:dev'
|
api 'com.github.GTNewHorizons:Baubles:1.0.4:dev'
|
||||||
|
|
||||||
api 'net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev'
|
api 'net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev'
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.8'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.9'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ public class ItemElectricBootsTraveller extends ItemArmor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
|
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
|
||||||
if (!player.capabilities.isFlying && player.moveForward > 0.0F) {
|
if (!player.capabilities.isFlying && (player.moveForward != 0.0F || player.moveStrafing != 0.0F)) {
|
||||||
if (player.worldObj.isRemote && !player.isSneaking()) {
|
if (player.worldObj.isRemote && !player.isSneaking()) {
|
||||||
if (!Thaumcraft.instance.entityEventHandler.prevStep.containsKey(player.getEntityId())) {
|
if (!Thaumcraft.instance.entityEventHandler.prevStep.containsKey(player.getEntityId())) {
|
||||||
Thaumcraft.instance.entityEventHandler.prevStep.put(player.getEntityId(), player.stepHeight);
|
Thaumcraft.instance.entityEventHandler.prevStep.put(player.getEntityId(), player.stepHeight);
|
||||||
@@ -140,7 +140,7 @@ public class ItemElectricBootsTraveller extends ItemArmor
|
|||||||
bonus /= 2.0F;
|
bonus /= 2.0F;
|
||||||
}
|
}
|
||||||
|
|
||||||
player.moveFlying(0.0F, 1.0F, bonus);
|
player.moveFlying(player.moveStrafing, player.moveForward, bonus);
|
||||||
} else if (Hover.getHover(player.getEntityId())) {
|
} else if (Hover.getHover(player.getEntityId())) {
|
||||||
// Base ItemBootsTraveller jumpBonus equals to jumpBonus of Electric Boots,
|
// Base ItemBootsTraveller jumpBonus equals to jumpBonus of Electric Boots,
|
||||||
// so any other boots factor can be calculated via proportion method
|
// so any other boots factor can be calculated via proportion method
|
||||||
|
|||||||
Reference in new issue
Block a user