work on adventure
This commit is contained in:
parent
bb1351cb8d
commit
1444b3632e
20 changed files with 288 additions and 155 deletions
|
@ -5,10 +5,10 @@ Subject: [PATCH] Add event for player editing sign
|
|||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemStack.java b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
index 735a56648a783a618891b391418a8fd0d2968f4f..31f67c83416031079569375e5f69738dd639b93f 100644
|
||||
index 989e7bc98e492ac2a27f0d7a32e6467d7176f277..ffa53f5bd6601c623395c3f93a60d2d773783342 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
@@ -537,7 +537,7 @@ public final class ItemStack implements DataComponentHolder {
|
||||
@@ -546,7 +546,7 @@ public final class ItemStack implements DataComponentHolder {
|
||||
try {
|
||||
if (world.getBlockEntity(SignItem.openSign) instanceof SignBlockEntity tileentitysign) {
|
||||
if (world.getBlockState(SignItem.openSign).getBlock() instanceof SignBlock blocksign) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue