mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Add import style rule
This commit is contained in:
1 parent
035c495691
commit
3ceeb0595f
26 files changed
+48
-66
No files matched your search
@@ -1,12 +1,11 @@
|
||||
package net.draycia.carbon.api;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import net.draycia.carbon.api.events.CarbonEventHandler;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* The main plugin interface.<br>
|
||||
* Instances may be obtained through {@link CarbonChatProvider#carbonChat()}.
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
package net.draycia.carbon.api;
|
||||
|
||||
import java.util.UUID;
|
||||
import net.draycia.carbon.api.users.CarbonPlayer;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* The server that carbon is running on.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package net.draycia.carbon.api.events;
|
||||
|
||||
import java.util.List;
|
||||
import net.draycia.carbon.api.users.CarbonPlayer;
|
||||
import net.draycia.carbon.api.util.KeyedRenderer;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
@@ -7,8 +8,6 @@ import net.kyori.adventure.text.Component;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static net.kyori.adventure.text.Component.empty;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
package net.draycia.carbon.api.events;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import net.kyori.event.EventSubscriber;
|
||||
import net.kyori.event.PostResult;
|
||||
import net.kyori.event.SimpleEventBus;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
/**
|
||||
* Event handler for listening to and emitting carbon events.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package net.draycia.carbon.api.users;
|
||||
|
||||
import java.util.UUID;
|
||||
import net.draycia.carbon.api.channels.ChatChannel;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import net.kyori.adventure.identity.Identified;
|
||||
@@ -8,8 +9,6 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Generic abstraction for players.
|
||||
*
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
package net.draycia.carbon.api.users;
|
||||
|
||||
import java.util.UUID;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Manager used to load and obtain {@link CarbonPlayer CarbonPlayers}.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package net.draycia.carbon.api.util;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.format.TextColor;
|
||||
import net.kyori.adventure.text.format.TextDecoration;
|
||||
@@ -9,8 +10,6 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* Basic color related utilities.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user