mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-30 19:52:06 -07:00
Add API to send game events (#6444)
This commit is contained in:
@@ -109,6 +109,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ Collection<Material> getInfiniburn();
|
||||
+
|
||||
+ /**
|
||||
+ * Posts a specified game event at a location
|
||||
+ *
|
||||
+ * @param sourceEntity optional source entity
|
||||
+ * @param gameEvent the game event to post
|
||||
+ * @param position the position in the world where to post the event to listeners
|
||||
+ */
|
||||
+ void sendGameEvent(@Nullable Entity sourceEntity, @NotNull GameEvent gameEvent, @NotNull Vector position);
|
||||
+ // Paper end
|
||||
+
|
||||
// Spigot start
|
||||
|
Reference in New Issue
Block a user