mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-28 15:56:03 +00:00
fix the issue where the vertical acceleration was incorrect due to being different from de's calculation (#85)
This commit is contained in:
1 parent
fe88f453a5
commit
9af2a97ba7
4 files changed
+62
-18
No files matched your search
+16
@@ -2,6 +2,7 @@ package fox.spiteful.avaritia.compat.draconicevolution;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.brandon3055.draconicevolution.DraconicEvolution;
|
||||
import com.brandon3055.draconicevolution.common.utils.IConfigurableItem;
|
||||
|
||||
import cpw.mods.fml.common.Optional;
|
||||
@@ -19,4 +20,19 @@ public class InfinityConfigProfileBridge {
|
||||
public static float getFloat(ItemStack stack, String key, float defaultValue) {
|
||||
return IConfigurableItem.ProfileHelper.getFloat(stack, key, defaultValue);
|
||||
}
|
||||
|
||||
@Optional.Method(modid = "DraconicEvolution")
|
||||
public static boolean isSpaceDown() {
|
||||
return DraconicEvolution.proxy.isSpaceDown();
|
||||
}
|
||||
|
||||
@Optional.Method(modid = "DraconicEvolution")
|
||||
public static boolean isShiftDown() {
|
||||
return DraconicEvolution.proxy.isShiftDown();
|
||||
}
|
||||
|
||||
@Optional.Method(modid = "DraconicEvolution")
|
||||
public static boolean isCtrlDown() {
|
||||
return DraconicEvolution.proxy.isCtrlDown();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user