More 1.14 updates (#1995)

This commit is contained in:
Spottedleaf
2019-04-26 20:05:36 -07:00
parent aa701c743f
commit f7dfbc078c
37 changed files with 494 additions and 744 deletions

View File

@@ -9,7 +9,7 @@ Before: http://i.imgur.com/nQsMzAE.png
After: http://i.imgur.com/nJ46crB.png
diff --git a/src/main/java/net/minecraft/server/DataBits.java b/src/main/java/net/minecraft/server/DataBits.java
index 9e83610f1a..fe5947b6cc 100644
index 409dc837c..4194acc8b 100644
--- a/src/main/java/net/minecraft/server/DataBits.java
+++ b/src/main/java/net/minecraft/server/DataBits.java
@@ -0,0 +0,0 @@ public class DataBits {
@@ -24,14 +24,25 @@ index 9e83610f1a..fe5947b6cc 100644
@@ -0,0 +0,0 @@ public class DataBits {
}
public void a(int i, int j) {
public int a(int i, int j) {
- Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i);
- Validate.inclusiveBetween(0L, this.c, (long) j);
+ //Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i); // Paper
+ //Validate.inclusiveBetween(0L, this.c, (long) j); // Paper
int k = i * this.b;
int l = k / 64;
int i1 = ((i + 1) * this.b - 1) / 64;
int l = k >> 6;
int i1 = (i + 1) * this.b - 1 >> 6;
@@ -0,0 +0,0 @@ public class DataBits {
}
public void b(int i, int j) {
- Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i);
- Validate.inclusiveBetween(0L, this.c, (long) j);
+ //Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i); // Paper
+ //Validate.inclusiveBetween(0L, this.c, (long) j); // Paper
int k = i * this.b;
int l = k >> 6;
int i1 = (i + 1) * this.b - 1 >> 6;
@@ -0,0 +0,0 @@ public class DataBits {
}
@@ -39,6 +50,6 @@ index 9e83610f1a..fe5947b6cc 100644
- Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i);
+ //Validate.inclusiveBetween(0L, (long) (this.d - 1), (long) i); // Paper
int j = i * this.b;
int k = j / 64;
int l = ((i + 1) * this.b - 1) / 64;
int k = j >> 6;
int l = (i + 1) * this.b - 1 >> 6;
--