public abstract class NBTTextComponent extends TextComponent implements ITargetedTextComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
NBTTextComponent.Block |
static class |
NBTTextComponent.Entity |
ITextComponent.Serializer| Modifier and Type | Field and Description |
|---|---|
protected boolean |
field_218678_b |
protected java.lang.String |
field_218679_c |
protected NBTPathArgument.NBTPath |
field_218680_d |
siblings| Modifier | Constructor and Description |
|---|---|
|
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_) |
| Modifier and Type | Method and Description |
|---|---|
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() |
appendSibling, equals, getSiblings, getStyle, hashCode, setStyle, stream, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendText, 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()
getUnformattedComponentText in interface 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 in interface ITargetedTextComponentcom.mojang.brigadier.exceptions.CommandSyntaxException