Package net.minecraft.util.text
Class NBTTextComponent.Storage
- java.lang.Object
-
- net.minecraft.util.text.TextComponent
-
- net.minecraft.util.text.NBTTextComponent
-
- net.minecraft.util.text.NBTTextComponent.Storage
-
- All Implemented Interfaces:
com.mojang.brigadier.Message,IFormattableTextComponent,ITargetedTextComponent,ITextComponent,ITextProperties
- Enclosing class:
- NBTTextComponent
public static class NBTTextComponent.Storage extends NBTTextComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.text.NBTTextComponent
NBTTextComponent.Block, NBTTextComponent.Entity, NBTTextComponent.Storage
-
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextComponent
ITextComponent.Serializer
-
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocationid-
Fields inherited from class net.minecraft.util.text.NBTTextComponent
compiledNbtPath, interpreting, nbtPathPattern
-
Fields inherited from class net.minecraft.util.text.TextComponent
siblings
-
Fields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION
-
-
Constructor Summary
Constructors Constructor Description Storage(java.lang.String p_i226087_1_, boolean p_i226087_2_, ResourceLocation p_i226087_3_)Storage(java.lang.String p_i226086_1_, NBTPathArgument.NBTPath p_i226086_2_, boolean p_i226086_3_, ResourceLocation p_i226086_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object p_equals_1_)protected java.util.stream.Stream<CompoundNBT>getData(CommandSource p_218673_1_)ResourceLocationgetId()NBTTextComponent.StorageplainCopy()java.lang.StringtoString()-
Methods inherited from class net.minecraft.util.text.NBTTextComponent
getNbtPath, isInterpreting, resolve
-
Methods inherited from class net.minecraft.util.text.TextComponent
append, copy, getContents, getSiblings, getStyle, getVisualOrderText, hashCode, setStyle
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
id
private final ResourceLocation id
-
-
Constructor Detail
-
Storage
public Storage(java.lang.String p_i226087_1_, boolean p_i226087_2_, ResourceLocation p_i226087_3_)
-
Storage
public Storage(java.lang.String p_i226086_1_, @Nullable NBTPathArgument.NBTPath p_i226086_2_, boolean p_i226086_3_, ResourceLocation p_i226086_4_)
-
-
Method Detail
-
getId
public ResourceLocation getId()
-
plainCopy
public NBTTextComponent.Storage plainCopy()
- Specified by:
plainCopyin interfaceITextComponent- Specified by:
plainCopyin classTextComponent
-
getData
protected java.util.stream.Stream<CompoundNBT> getData(CommandSource p_218673_1_)
- Specified by:
getDatain classNBTTextComponent
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equalsin classTextComponent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTextComponent
-
-