Skip to content

Commit

Permalink
tweaks v 3
Browse files Browse the repository at this point in the history
cleaned up key binding inputs, fixed bugs there
fixed bugs in teleport location finding
  • Loading branch information
jrbudda committed May 24, 2016
1 parent 028fb29 commit e516cd5
Show file tree
Hide file tree
Showing 24 changed files with 8,333 additions and 3,893 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bin/intelij_prod
optionsvrprofiles.txt
crash-reports/
saves/
jars/
*.ex_
mcppatches - Copy/
hs_err_pid*.log
2 changes: 1 addition & 1 deletion minecriftversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
of_json_name = "1.7.10_HD_U_D1"
of_file_md5 = "57c724fe8335c82aef8d54c101043e60"
minecrift_version_num = "1.7.10"
minecrift_build = "R2b-Vive-jrbudda2"
minecrift_build = "R2b-Vive-jrbudda3"
of_file_extension = ".jar"
mcp_version = "mcp908"
mcp_uses_generics = False
Expand Down
10,506 changes: 7,638 additions & 2,868 deletions patches/net/minecraft/client/Minecraft.java.patch

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion patches/net/minecraft/client/gui/GuiSlot.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
var9 = this.left + this.width / 2 - this.getListWidth() / 2 + 2;
var10 = this.top + 4 - (int)this.amountScrolled;

@@ -539,4 +551,32 @@
@@ -539,4 +551,33 @@
{
return this.slotHeight;
}
Expand All @@ -116,6 +116,7 @@
+ /** MINECRIFT ADDITIONS BELOW */
+
+ public int publicGetSize() { return getSize(); }
+
+ public int select( int item, boolean dblClick) {
+ amountScrolled = item * slotHeight;
+ bindAmountScrolled();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
--- a/net/minecraft/client/multiplayer/PlayerControllerMP.java
+++ b/net/minecraft/client/multiplayer/PlayerControllerMP.java
@@ -111,6 +111,14 @@
@@ -111,6 +111,13 @@
{
this.currentGameType = p_78746_1_;
this.currentGameType.configurePlayerCapabilities(this.mc.thePlayer.capabilities);
+ if (this.currentGameType == WorldSettings.GameType.SURVIVAL) {
+ mc.vrPlayer.vrMovementStyle.setStyle("Arc");
+ mc.vrSettings.allowPitchAffectsHeightWhileFlying = false;
+ } else {
+ //I don't know where else to put this - JRBUDDA, ongamemodechanged?
+ mc.vrPlayer.vrMovementStyle.setStyle("Beam");
+ mc.vrPlayer.vrMovementStyle.setStyle("Arc");
+ mc.vrSettings.allowPitchAffectsHeightWhileFlying = true;
+ }
}

/**
@@ -301,12 +309,22 @@
@@ -301,12 +308,22 @@
}
}

Expand Down
Loading

0 comments on commit e516cd5

Please sign in to comment.