Skip to content

Commit

Permalink
v7
Browse files Browse the repository at this point in the history
crawling update, bug fix
  • Loading branch information
jrbudda committed May 26, 2016
1 parent 5288a7e commit 5dc4eec
Show file tree
Hide file tree
Showing 11 changed files with 572 additions and 249 deletions.
4 changes: 2 additions & 2 deletions patches/net/minecraft/client/Minecraft.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@
+ * The minecriftVerString will be automatically updated by the build scripts, do not modify here.
+ * Modify minecriftversion.py in root minecrift dir.
+ */
+ public final String minecriftVerString = "Minecrift 1.7.10 R2b-Vive-jrbudda6";
+ public final String minecriftVerString = "Minecrift 1.7.10 R2b-Vive-jrbudda7";
+ /* end version */
+ /** END MINECRIFT */
+
Expand Down Expand Up @@ -5784,7 +5784,7 @@
+ public void loadWorld(WorldClient worldClientIn)
+ {
+ // VIVE START - reset room origin
+ vrPlayer.roomOrigin.xCoord = vrPlayer.roomOrigin.yCoord = vrPlayer.roomOrigin.zCoord = 0;
+ vrPlayer.setRoomOrigin(0, 0, 0);
+ // VIVE END - reset room origin
+ this.loadWorld(worldClientIn, "");
+ }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
--- a/net/minecraft/client/entity/EntityClientPlayerMP.java
+++ b/net/minecraft/client/entity/EntityClientPlayerMP.java
@@ -96,8 +96,8 @@
/**
* Called to update the entity's position/logic.
*/
- public void onUpdate()
- {
+ public void onUpdate(){
+
if (this.worldObj.blockExists(MathHelper.floor_double(this.posX), 0, MathHelper.floor_double(this.posZ)))
{
super.onUpdate();
@@ -156,23 +156,28 @@
double var7 = this.posZ - this.oldPosZ;
double var9 = (double)(this.rotationYaw - this.oldRotationYaw);
Expand Down
Loading

0 comments on commit 5dc4eec

Please sign in to comment.