Package net.minecraft.network.chat
Class NbtComponent.StorageNbtComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
net.minecraft.network.chat.NbtComponent
net.minecraft.network.chat.NbtComponent.StorageNbtComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,Component
,ContextAwareComponent
,FormattedText
,MutableComponent
- Enclosing class:
- NbtComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.network.chat.NbtComponent
NbtComponent.BlockNbtComponent, NbtComponent.EntityNbtComponent, NbtComponent.StorageNbtComponent
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.Serializer
Nested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
Field Summary
Fields inherited from class net.minecraft.network.chat.NbtComponent
compiledNbtPath, interpreting, nbtPathPattern, separator
Fields inherited from class net.minecraft.network.chat.BaseComponent
siblings
Fields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
Constructor Summary
ConstructorDescriptionStorageNbtComponent(String p_178505_, boolean p_178506_, ResourceLocation p_178507_, Optional<Component> p_178508_)
StorageNbtComponent(String p_178499_, NbtPathArgument.NbtPath p_178500_, boolean p_178501_, ResourceLocation p_178502_, Optional<Component> p_178503_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected Stream<CompoundTag>
getData(CommandSourceStack p_131038_)
getId()
toString()
Methods inherited from class net.minecraft.network.chat.NbtComponent
getNbtPath, isInterpreting, resolve
Methods inherited from class net.minecraft.network.chat.BaseComponent
append, copy, getContents, getSiblings, getStyle, getVisualOrderText, hashCode, setStyle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
id
-
-
Constructor Details
-
StorageNbtComponent
public StorageNbtComponent(String p_178505_, boolean p_178506_, ResourceLocation p_178507_, Optional<Component> p_178508_) -
StorageNbtComponent
public StorageNbtComponent(String p_178499_, @Nullable NbtPathArgument.NbtPath p_178500_, boolean p_178501_, ResourceLocation p_178502_, Optional<Component> p_178503_)
-
-
Method Details
-
getId
-
plainCopy
- Specified by:
plainCopy
in interfaceComponent
- Specified by:
plainCopy
in classBaseComponent
-
getData
- Specified by:
getData
in classNbtComponent
-
equals
- Overrides:
equals
in classBaseComponent
-
toString
- Overrides:
toString
in classBaseComponent
-