Add API to send game events (#6444)
This commit is contained in:
parent
ebb3c9b96a
commit
b3c84b4e7d
2 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue