mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-18 04:39:24 +01:00
Extend Entity by Sound.Emitter (#6890)
This commit is contained in:
parent
4d6073faff
commit
f8992ee9b5
1 changed files with 2 additions and 2 deletions
|
@ -1513,7 +1513,7 @@ index 9566e4306ada5e82dede0f002aa06da12c44996b..4d5f0837bd0e02a30c943d8969fb6b13
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
|
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
|
||||||
index 25a6f9313a1953def7470e411b53016f2ca14bef..03d8ac1b41659540d7eb3d7e218cdfaa4acb683b 100644
|
index 25a6f9313a1953def7470e411b53016f2ca14bef..10cb6088c4618f228c757f4e592b44edab81c2dc 100644
|
||||||
--- a/src/main/java/org/bukkit/entity/Entity.java
|
--- a/src/main/java/org/bukkit/entity/Entity.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/Entity.java
|
+++ b/src/main/java/org/bukkit/entity/Entity.java
|
||||||
@@ -25,7 +25,7 @@ import org.jetbrains.annotations.Nullable;
|
@@ -25,7 +25,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
@ -1521,7 +1521,7 @@ index 25a6f9313a1953def7470e411b53016f2ca14bef..03d8ac1b41659540d7eb3d7e218cdfaa
|
||||||
* Represents a base entity in the world
|
* Represents a base entity in the world
|
||||||
*/
|
*/
|
||||||
-public interface Entity extends Metadatable, CommandSender, Nameable, PersistentDataHolder {
|
-public interface Entity extends Metadatable, CommandSender, Nameable, PersistentDataHolder {
|
||||||
+public interface Entity extends Metadatable, CommandSender, Nameable, PersistentDataHolder, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity> { // Paper
|
+public interface Entity extends Metadatable, CommandSender, Nameable, PersistentDataHolder, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, net.kyori.adventure.sound.Sound.Emitter { // Paper
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the entity's current position
|
* Gets the entity's current position
|
||||||
|
|
Loading…
Reference in a new issue