Call EntityPortalEnterEvent on endgateways and make cancellable (#10892)

This commit is contained in:
Jake Potrebic 2024-06-23 15:01:12 -07:00 committed by GitHub
parent 5ae4758c8b
commit 897ece48d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 148 additions and 23 deletions

View file

@ -14,7 +14,7 @@ clearing the owner.
Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
index deee2eebebb415115c5566057ac626f35e9472e1..6d18b9a0b65c62de3f134d3d6dda6e4a988a64dc 100644
index 011a869c2eac551fe15fca34eee11ff928af52e2..fa32b32fb5e6b546cb73b43e59db408404797cb5 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -391,6 +391,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess