generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
971e647
commit 6a3fac1
Showing
3 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/me/basiqueevangelist/pingspam/api/PingspamApiV0.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package me.basiqueevangelist.pingspam.api; | ||
|
||
import me.basiqueevangelist.pingspam.utils.PingLogic; | ||
import net.minecraft.server.MinecraftServer; | ||
import net.minecraft.text.Text; | ||
|
||
import java.util.UUID; | ||
|
||
public final class PingspamApiV0 { | ||
private PingspamApiV0() { | ||
|
||
} | ||
|
||
public static void sendNotificationTo(MinecraftServer server, UUID playerId, Text message) { | ||
PingLogic.sendNotification(server, playerId, message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters