use of org.lanternpowered.server.text.format.LanternTextStyle in project LanternServer by LanternPowered.
the class TextStyleRegistryModule method registerDefaults.
@EarlyRegistration
@Override
public void registerDefaults() {
register(new LanternTextStyle.Formatting("bold", true, null, null, null, null, TextConstants.BOLD));
register(new LanternTextStyle.Formatting("italic", null, true, null, null, null, TextConstants.ITALIC));
register(new LanternTextStyle.Formatting("underline", null, null, true, null, null, TextConstants.UNDERLINE));
register(new LanternTextStyle.Formatting("strikethrough", null, null, null, true, null, TextConstants.STRIKETHROUGH));
register(new LanternTextStyle.Formatting("obfuscated", null, null, null, null, true, TextConstants.OBFUSCATED));
register(new LanternTextStyle.Formatting("reset", false, false, false, false, false, TextConstants.RESET));
register(new LanternTextStyle("none", null, null, null, null, null));
}
Aggregations