mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
32 lines
948 B
Java
32 lines
948 B
Java
package net.draycia.carbon.api;
|
|
|
|
import net.draycia.carbon.api.adventure.CarbonTranslations;
|
|
import net.draycia.carbon.api.adventure.MessageProcessor;
|
|
import net.draycia.carbon.api.channels.ChannelRegistry;
|
|
import net.draycia.carbon.api.commands.settings.CommandSettingsRegistry;
|
|
import net.draycia.carbon.api.users.UserService;
|
|
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
|
import org.checkerframework.checker.nullness.qual.NonNull;
|
|
|
|
public interface CarbonChat {
|
|
|
|
LegacyComponentSerializer LEGACY =
|
|
LegacyComponentSerializer.builder()
|
|
.extractUrls()
|
|
.hexColors()
|
|
.character('§')
|
|
.useUnusualXRepeatedCharacterHexFormat()
|
|
.build();
|
|
|
|
@NonNull UserService userService();
|
|
|
|
@NonNull MessageProcessor messageProcessor();
|
|
|
|
@NonNull ChannelRegistry channelRegistry();
|
|
|
|
@NonNull CommandSettingsRegistry commandSettingsRegistry();
|
|
|
|
@NonNull CarbonTranslations translations();
|
|
|
|
}
|