Package net.minecraft.util.text
Class NBTTextComponent.Block
java.lang.Object
net.minecraft.util.text.TextComponent
net.minecraft.util.text.NBTTextComponent
net.minecraft.util.text.NBTTextComponent.Block
- All Implemented Interfaces:
com.mojang.brigadier.Message,IFormattableTextComponent,ITargetedTextComponent,ITextComponent,ITextProperties
- Enclosing class:
- NBTTextComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.text.NBTTextComponent
NBTTextComponent.Block, NBTTextComponent.Entity, NBTTextComponent.StorageNested classes/interfaces inherited from interface net.minecraft.util.text.ITextComponent
ITextComponent.SerializerNested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T> -
Field Summary
FieldsFields inherited from class net.minecraft.util.text.NBTTextComponent
compiledNbtPath, interpreting, nbtPathPatternFields inherited from class net.minecraft.util.text.TextComponent
siblingsFields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBlock(String p_i51295_1_, NBTPathArgument.NBTPath p_i51295_2_, boolean p_i51295_3_, String p_i51295_4_, ILocationArgument p_i51295_5_) -
Method Summary
Modifier and TypeMethodDescriptionprivate ILocationArgumentcompilePos(String p_218682_1_) booleanprotected Stream<CompoundNBT>getData(CommandSource p_218673_1_) getPos()toString()Methods inherited from class net.minecraft.util.text.NBTTextComponent
getNbtPath, isInterpreting, resolveMethods inherited from class net.minecraft.util.text.TextComponent
append, copy, getContents, getSiblings, getStyle, getVisualOrderText, hashCode, setStyleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
posPattern
-
compiledPos
-
-
Constructor Details
-
Block
-
Block
private Block(String p_i51295_1_, @Nullable NBTPathArgument.NBTPath p_i51295_2_, boolean p_i51295_3_, String p_i51295_4_, @Nullable ILocationArgument p_i51295_5_)
-
-
Method Details
-
compilePos
-
getPos
-
plainCopy
- Specified by:
plainCopyin interfaceITextComponent- Specified by:
plainCopyin classTextComponent
-
getData
- Specified by:
getDatain classNBTTextComponent
-
equals
- Overrides:
equalsin classTextComponent
-
toString
- Overrides:
toStringin classTextComponent
-