Package | Description |
---|---|
net.minecraft.util.text |
Modifier and Type | Field and Description |
---|---|
private Style |
Style.parentStyle |
private static Style |
Style.ROOT |
private Style |
TextComponent.style |
Modifier and Type | Method and Description |
---|---|
Style |
Style.createDeepCopy() |
Style |
Style.createShallowCopy() |
Style |
Style.Serializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
private Style |
Style.getParent() |
Style |
ITextComponent.getStyle() |
Style |
TextComponent.getStyle() |
Style |
Style.setBold(java.lang.Boolean boldIn) |
Style |
Style.setClickEvent(ClickEvent event) |
Style |
Style.setColor(TextFormatting color) |
Style |
Style.setHoverEvent(HoverEvent event) |
Style |
Style.setInsertion(java.lang.String insertion) |
Style |
Style.setItalic(java.lang.Boolean italic) |
Style |
Style.setObfuscated(java.lang.Boolean obfuscated) |
Style |
Style.setParentStyle(Style parent) |
Style |
Style.setStrikethrough(java.lang.Boolean strikethrough) |
Style |
Style.setUnderlined(java.lang.Boolean underlined) |
Modifier and Type | Method and Description |
---|---|
static ITextComponent |
TextComponentUtils.mergeStyles(ITextComponent component,
Style styleIn) |
com.google.gson.JsonElement |
Style.Serializer.serialize(Style p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |
private void |
ITextComponent.Serializer.serializeChatStyle(Style style,
com.google.gson.JsonObject object,
com.google.gson.JsonSerializationContext ctx) |
Style |
Style.setParentStyle(Style parent) |
ITextComponent |
ITextComponent.setStyle(Style style) |
ITextComponent |
TranslationTextComponent.setStyle(Style style) |
ITextComponent |
TextComponent.setStyle(Style style) |
Modifier and Type | Method and Description |
---|---|
default ITextComponent |
ITextComponent.applyTextStyle(java.util.function.Consumer<Style> styleConsumer) |