public class TextComponentUtils
extends java.lang.Object
| コンストラクタと説明 | 
|---|
| TextComponentUtils() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| static ITextComponent | getDisplayName(com.mojang.authlib.GameProfile profile) | 
| static ITextComponent | makeGreenSortedList(java.util.Collection<java.lang.String> collection) | 
| static <T> ITextComponent | makeList(java.util.Collection<T> collection,
        java.util.function.Function<T,ITextComponent> toTextComponent) | 
| static <T extends java.lang.Comparable<T>> | makeSortedList(java.util.Collection<T> collection,
              java.util.function.Function<T,ITextComponent> toTextComponent) | 
| static ITextComponent | mergeStyles(ITextComponent component,
           Style styleIn) | 
| static ITextComponent | toTextComponent(com.mojang.brigadier.Message message) | 
| static ITextComponent | updateForEntity(CommandSource p_197680_0_,
               ITextComponent p_197680_1_,
               Entity p_197680_2_,
               int p_197680_3_) | 
| static ITextComponent | wrapInSquareBrackets(ITextComponent component) | 
public static ITextComponent mergeStyles(ITextComponent component, Style styleIn)
public static ITextComponent updateForEntity(@Nullable CommandSource p_197680_0_, ITextComponent p_197680_1_, @Nullable Entity p_197680_2_, int p_197680_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic static ITextComponent getDisplayName(com.mojang.authlib.GameProfile profile)
public static ITextComponent makeGreenSortedList(java.util.Collection<java.lang.String> collection)
public static <T extends java.lang.Comparable<T>> ITextComponent makeSortedList(java.util.Collection<T> collection, java.util.function.Function<T,ITextComponent> toTextComponent)
public static <T> ITextComponent makeList(java.util.Collection<T> collection, java.util.function.Function<T,ITextComponent> toTextComponent)
public static ITextComponent wrapInSquareBrackets(ITextComponent component)
public static ITextComponent toTextComponent(com.mojang.brigadier.Message message)