public abstract class NBTTextComponent extends TextComponent implements ITargetedTextComponent
Modifier and Type | Class and Description |
---|---|
static class |
NBTTextComponent.Block |
static class |
NBTTextComponent.Entity |
static class |
NBTTextComponent.Storage |
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 |
private static org.apache.logging.log4j.Logger |
field_218681_e |
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_) |
private static NBTPathArgument.NBTPath |
func_218672_b(java.lang.String p_218672_0_) |
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendText, applyTextStyle, applyTextStyle, applyTextStyles, copyWithoutSiblings, deepCopy, func_212637_f, getFormattedText, getString, getStringTruncated, iterator, shallowCopy
private static final org.apache.logging.log4j.Logger field_218681_e
protected 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_)
@Nullable private static NBTPathArgument.NBTPath func_218672_b(java.lang.String p_218672_0_)
protected abstract java.util.stream.Stream<CompoundNBT> func_218673_a(CommandSource p_218673_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.lang.String getUnformattedComponentText()
getUnformattedComponentText
in interface ITextComponent
public 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 ITargetedTextComponent
com.mojang.brigadier.exceptions.CommandSyntaxException