Interface ChatVisibility
- All Superinterfaces:
ComponentLike
,DefaultedRegistryValue
@CatalogedBy(ChatVisibilities.class)
public interface ChatVisibility
extends DefaultedRegistryValue, ComponentLike
Represents a visibility mode for a client's chat.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests whether chat messages will be visible with this visibilityboolean
Tests whether system messages will be visible with this visibilityMethods inherited from interface net.kyori.adventure.text.ComponentLike
asComponent
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
isSystemVisible
boolean isSystemVisible()Tests whether system messages will be visible with this visibility- Returns:
- Whether or not it's visible with this
ChatVisibility
-
isChatVisible
boolean isChatVisible()Tests whether chat messages will be visible with this visibility- Returns:
- Whether or not it's visible with this
ChatVisibility
-