Package com.petarmc.lib.gui
Class NotificationManager
java.lang.Object
com.petarmc.lib.gui.NotificationManager
Utility class for showing in-game notifications (toasts) to the player.
Only works on the client side.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidShows an error notification toast.static voidShows an info notification toast.static voidShows a simple popup with custom data.static voidShows a custom notification toast.
-
Constructor Details
-
NotificationManager
public NotificationManager()
-
-
Method Details
-
showError
-
showInfo
-
showToast
-
showPopup
-