mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Single module setup
This commit is contained in:
1 parent
ad9a794156
commit
66217f6534
70 files changed
+92
-138
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package net.draycia.carbon.storage;
|
||||
|
||||
import net.kyori.adventure.text.format.TextColor;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface UserChannelSettings {
|
||||
|
||||
boolean isSpying();
|
||||
void setSpying(boolean spying, boolean fromRemote);
|
||||
default void setSpying(boolean spying) {
|
||||
this.setSpying(spying, false);
|
||||
}
|
||||
|
||||
boolean isIgnored();
|
||||
void setIgnoring(boolean ignored, boolean fromRemote);
|
||||
default void setIgnoring(boolean ignored) {
|
||||
this.setIgnoring(ignored, false);
|
||||
}
|
||||
|
||||
@Nullable TextColor getColor();
|
||||
void setColor(@Nullable TextColor color, boolean fromRemote);
|
||||
default void setColor(@Nullable TextColor color) {
|
||||
this.setColor(color, false);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user