Package net.minecraft.network.chat
Class NbtComponent.BlockNbtComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
net.minecraft.network.chat.NbtComponent
net.minecraft.network.chat.NbtComponent.BlockNbtComponent
- 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
ModifierConstructorDescriptionBlockNbtComponent
(String p_178482_, boolean p_178483_, String p_178484_, Optional<Component> p_178485_) private
BlockNbtComponent
(String p_178475_, NbtPathArgument.NbtPath p_178476_, boolean p_178477_, String p_178478_, Coordinates p_178479_, Optional<Component> p_178480_) -
Method Summary
Modifier and TypeMethodDescriptionprivate Coordinates
compilePos
(String p_130997_) boolean
protected Stream<CompoundTag>
getData
(CommandSourceStack p_130994_) getPos()
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
-
posPattern
-
compiledPos
-
-
Constructor Details
-
BlockNbtComponent
-
BlockNbtComponent
private BlockNbtComponent(String p_178475_, @Nullable NbtPathArgument.NbtPath p_178476_, boolean p_178477_, String p_178478_, @Nullable Coordinates p_178479_, Optional<Component> p_178480_)
-
-
Method Details
-
compilePos
-
getPos
-
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
-