9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-19 15:09:19 +00:00

add further docs

This commit is contained in:
Tech
2025-01-22 19:46:54 -05:00
parent 97534f6916
commit 530cdb282b

View File

@@ -2,6 +2,7 @@ package com.hibiscusmc.hmccosmetics.user;
import com.hibiscusmc.hmccosmetics.HMCCosmeticsPlugin;
import com.hibiscusmc.hmccosmetics.database.UserData;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;
import java.util.UUID;
@@ -17,6 +18,7 @@ public interface CosmeticUserProvider {
* @param playerId the player uuid
* @param userData the user data associated with the player
* @return the {@link CosmeticUser}
* @apiNote This method is called during the {@link PlayerJoinEvent}.
*/
CosmeticUser createCosmeticUser(UUID playerId, UserData userData);
@@ -24,6 +26,7 @@ public interface CosmeticUserProvider {
* Construct the custom {@link CosmeticUser}.
* @param playerId the player uuid
* @return the {@link CosmeticUser}
* @apiNote This method is called during the {@link PlayerJoinEvent}.
*/
CosmeticUser createCosmeticUserWithoutData(UUID playerId);