9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-04 15:41:31 +00:00

Update Paper

This commit is contained in:
violetc
2023-08-23 13:24:24 +08:00
parent 8e737d4606
commit 1da94abde2
47 changed files with 268 additions and 207 deletions

View File

@@ -6,10 +6,10 @@ Subject: [PATCH] Cache BlockStatePairKey hash
This patch is Powered by Gale(https://github.com/GaleMC/Gale)
diff --git a/src/main/java/net/minecraft/world/level/block/Block.java b/src/main/java/net/minecraft/world/level/block/Block.java
index d13e665a1f2fa4b671894a8c708e8e7ff94af07f..98eb6061da8ac8617b54d489ff41b4808dafe839 100644
index 35f1aea111aab3e79a73fb51c553e96bbcdab3bf..aa2fd4a567f5243ccd082644d56e1fa2b9ae4a7d 100644
--- a/src/main/java/net/minecraft/world/level/block/Block.java
+++ b/src/main/java/net/minecraft/world/level/block/Block.java
@@ -623,11 +623,18 @@ public class Block extends BlockBehaviour implements ItemLike {
@@ -631,11 +631,18 @@ public class Block extends BlockBehaviour implements ItemLike {
private final BlockState first;
private final BlockState second;
private final Direction direction;
@@ -28,7 +28,7 @@ index d13e665a1f2fa4b671894a8c708e8e7ff94af07f..98eb6061da8ac8617b54d489ff41b480
}
public boolean equals(Object object) {
@@ -643,11 +650,17 @@ public class Block extends BlockBehaviour implements ItemLike {
@@ -651,11 +658,17 @@ public class Block extends BlockBehaviour implements ItemLike {
}
public int hashCode() {