aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0006-MC-Utils.patch
diff options
context:
space:
mode:
authorMiniDigger <[email protected]>2021-06-17 21:37:37 +0200
committerMiniDigger <[email protected]>2021-06-17 21:37:37 +0200
commit3cdaf0b8a14e4dcd00f15d1bcd8299d8bc7a7f62 (patch)
tree07e46fe79397ff564b13b719adc7b5d1b8805bd2 /patches/server/0006-MC-Utils.patch
parent4104545b11be9ea571773d49186917b76c396b19 (diff)
downloadPaper-3cdaf0b8a14e4dcd00f15d1bcd8299d8bc7a7f62.tar.gz
Paper-3cdaf0b8a14e4dcd00f15d1bcd8299d8bc7a7f62.zip
nuke a few more obfhelpers
Diffstat (limited to 'patches/server/0006-MC-Utils.patch')
-rw-r--r--patches/server/0006-MC-Utils.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/patches/server/0006-MC-Utils.patch b/patches/server/0006-MC-Utils.patch
index e54a57ca8d..5d9a0a90a7 100644
--- a/patches/server/0006-MC-Utils.patch
+++ b/patches/server/0006-MC-Utils.patch
@@ -3850,18 +3850,6 @@ index 00118cc80ebc31e5fac95c31c07634f0e2904263..138b6792bc6ee26e0b9aaaef7bf58fb2
@Nullable
@Override
public BlockEntity getBlockEntity(BlockPos pos) {
-diff --git a/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java b/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
-index 505731735126e81a4cc768311dce337385e5503f..549eb8a5f0f20db88abd17136f69f7bb00883011 100644
---- a/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
-+++ b/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
-@@ -984,6 +984,7 @@ public abstract class BlockBehaviour {
- return this.cache != null ? this.cache.isCollisionShapeFullBlock : this.getBlock().isCollisionShapeFullBlock(this.asState(), world, pos);
- }
-
-+ public final BlockState getBlockData() { return asState(); } // Paper - OBFHELPER
- protected abstract BlockState asState();
-
- public boolean requiresCorrectToolForDrops() {
diff --git a/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java b/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java
index 62417156dd3e7e68e657f322c089fb6f30a11c0e..57f32618d6c95734fa4b45274afaf2319c7608ae 100644
--- a/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java
@@ -4218,18 +4206,6 @@ index 1441888430687b9de2a67f21ed426f16d5b30538..2da42f1bc6922adae32d782aac780a7e
@Nullable
public synchronized DataInputStream getChunkDataInputStream(ChunkPos pos) throws IOException {
int i = this.getOffset(pos);
-diff --git a/src/main/java/net/minecraft/world/phys/AABB.java b/src/main/java/net/minecraft/world/phys/AABB.java
-index 120498a39b7ca7aee9763084507508d4a1c425aa..4eeb186231551a9df453ec9d6a8a9dc9f8835464 100644
---- a/src/main/java/net/minecraft/world/phys/AABB.java
-+++ b/src/main/java/net/minecraft/world/phys/AABB.java
-@@ -243,6 +243,7 @@ public class AABB {
- return x >= this.minX && x < this.maxX && y >= this.minY && y < this.maxY && z >= this.minZ && z < this.maxZ;
- }
-
-+ public final double getAverageSideLength(){return getSize();} // Paper - OBFHELPER
- public double getSize() {
- double d = this.getXsize();
- double e = this.getYsize();
diff --git a/src/main/java/net/minecraft/world/phys/shapes/Shapes.java b/src/main/java/net/minecraft/world/phys/shapes/Shapes.java
index 5af90e0f7222356cb0e905a9b6e0c4eac5617a41..5d4d953f197afc402248ab73daeb6ef59134f48f 100644
--- a/src/main/java/net/minecraft/world/phys/shapes/Shapes.java