Put formatter stuff in it's package
This commit is contained in:
parent
84f87af748
commit
050b100819
11 changed files with 20 additions and 13 deletions
|
@ -1,5 +1,7 @@
|
|||
package buttondevteam.chat;
|
||||
|
||||
import buttondevteam.chat.formatting.ChatFormatter;
|
||||
|
||||
public class Channel {
|
||||
public final String DisplayName;
|
||||
public final ChatFormatter.Color Color;
|
||||
|
|
|
@ -10,6 +10,7 @@ import org.bukkit.OfflinePlayer;
|
|||
import org.bukkit.entity.Player;
|
||||
|
||||
import buttondevteam.bucket.core.TBMCPlayer;
|
||||
import buttondevteam.chat.formatting.ChatFormatter;
|
||||
|
||||
public class ChatPlayer extends TBMCPlayer {
|
||||
public String UserName;
|
||||
|
|
|
@ -19,10 +19,14 @@ import com.palmergames.bukkit.towny.object.Nation;
|
|||
import com.palmergames.bukkit.towny.object.Resident;
|
||||
import com.palmergames.bukkit.towny.object.Town;
|
||||
|
||||
import buttondevteam.chat.ChatFormatter.Color;
|
||||
import buttondevteam.chat.ChatFormatter.Priority;
|
||||
import buttondevteam.chat.commands.UnlolCommand;
|
||||
import buttondevteam.chat.commands.ucmds.admin.DebugCommand;
|
||||
import buttondevteam.chat.formatting.ChatFormatter;
|
||||
import buttondevteam.chat.formatting.ChatFormatterBuilder;
|
||||
import buttondevteam.chat.formatting.TellrawEvent;
|
||||
import buttondevteam.chat.formatting.TellrawPart;
|
||||
import buttondevteam.chat.formatting.ChatFormatter.Color;
|
||||
import buttondevteam.chat.formatting.ChatFormatter.Priority;
|
||||
|
||||
public class ChatProcessing {
|
||||
private static final Pattern CONSOLE_PING_PATTERN = Pattern.compile("(?i)" + Pattern.quote("@console"));
|
||||
|
|
|
@ -3,9 +3,9 @@ package buttondevteam.chat.commands.ucmds;
|
|||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import buttondevteam.chat.ChatFormatter;
|
||||
import buttondevteam.chat.ChatPlayer;
|
||||
import buttondevteam.chat.PluginMain;
|
||||
import buttondevteam.chat.formatting.ChatFormatter;
|
||||
|
||||
public class CCommand extends UCommandBase {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.util.function.Function;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import buttondevteam.chat.ChatFormatter.Color;
|
||||
import buttondevteam.chat.ChatFormatter.Format;
|
||||
import buttondevteam.chat.ChatFormatter.Priority;
|
||||
import buttondevteam.chat.formatting.ChatFormatter.Color;
|
||||
import buttondevteam.chat.formatting.ChatFormatter.Format;
|
||||
import buttondevteam.chat.formatting.ChatFormatter.Priority;
|
||||
|
||||
public class ChatFormatterBuilder {
|
||||
private Pattern regex;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
public interface TellrawSerializableEnum {
|
||||
public String getName();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package buttondevteam.chat;
|
||||
package buttondevteam.chat.formatting;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
|
Loading…
Reference in a new issue