public abstract class NBTTextComponent extends TextComponent implements ITargetedTextComponent
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
NBTTextComponent.Block |
static class |
NBTTextComponent.Entity |
static class |
NBTTextComponent.Storage |
ITextComponent.Serializer| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
field_218678_b |
protected java.lang.String |
field_218679_c |
protected NBTPathArgument.NBTPath |
field_218680_d |
siblings| 修飾子 | コンストラクタと説明 |
|---|---|
|
NBTTextComponent(java.lang.String p_i50781_1_,
boolean p_i50781_2_) |
protected |
NBTTextComponent(java.lang.String p_i50782_1_,
NBTPathArgument.NBTPath p_i50782_2_,
boolean p_i50782_3_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ITextComponent |
createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
protected abstract java.util.stream.Stream<CompoundNBT> |
func_218673_a(CommandSource p_218673_1_) |
java.lang.String |
func_218676_i() |
boolean |
func_218677_j() |
java.lang.String |
getUnformattedComponentText()
Gets the raw content of this component (but not its sibling components), without any formatting codes.
|
appendSibling, equals, getSiblings, getStyle, hashCode, setStyle, stream, toStringappendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iterator, shallowCopyprotected final boolean field_218678_b
protected final java.lang.String field_218679_c
@Nullable protected final NBTPathArgument.NBTPath field_218680_d
public NBTTextComponent(java.lang.String p_i50781_1_,
boolean p_i50781_2_)
protected NBTTextComponent(java.lang.String p_i50782_1_,
@Nullable
NBTPathArgument.NBTPath p_i50782_2_,
boolean p_i50782_3_)
protected abstract java.util.stream.Stream<CompoundNBT> func_218673_a(CommandSource p_218673_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic java.lang.String getUnformattedComponentText()
TextComponentString, but it's the translated text for a TextComponentTranslation and it's the score value for a TextComponentScore.getUnformattedComponentText インタフェース内 ITextComponentpublic java.lang.String func_218676_i()
public boolean func_218677_j()
public ITextComponent createNames(@Nullable CommandSource p_197668_1_, @Nullable Entity p_197668_2_, int p_197668_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
createNames インタフェース内 ITargetedTextComponentcom.mojang.brigadier.exceptions.CommandSyntaxException