Files
Carbon/src/main/java/net/draycia/carbon/storage/UserChannelSettings.java
T
2020-09-10 02:30:34 -07:00

34 lines
699 B
Java

package net.draycia.carbon.storage;
import net.kyori.adventure.text.format.TextColor;
import org.checkerframework.checker.nullness.qual.Nullable;
public interface UserChannelSettings {
boolean spying();
default void spying(final boolean spying) {
this.spying(spying, false);
}
void spying(boolean spying, boolean fromRemote);
boolean ignored();
void ignoring(boolean ignored, boolean fromRemote);
default void ignoring(final boolean ignored) {
this.ignoring(ignored, false);
}
@Nullable
TextColor color();
default void color(@Nullable final TextColor color) {
this.color(color, false);
}
void color(@Nullable TextColor color, boolean fromRemote);
}