Package net.minecraft.text
Class NbtText.BlockNbtText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.NbtText
net.minecraft.text.NbtText.BlockNbtText
- All Implemented Interfaces:
com.mojang.brigadier.Message
,MutableText
,ParsableText
,StringVisitable
,Text
- Enclosing class:
- NbtText
public static class NbtText.BlockNbtText extends NbtText
- Mappings:
Namespace Name official op$a
intermediary net/minecraft/class_2574$class_2575
named net/minecraft/text/NbtText$BlockNbtText
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.text.NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtText
Nested classes/interfaces inherited from interface net.minecraft.text.StringVisitable
StringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>
Nested classes/interfaces inherited from interface net.minecraft.text.Text
Text.Serializer
-
Field Summary
Fields Modifier and Type Field Description private PosArgument
pos
private String
rawPos
Fields inherited from interface net.minecraft.text.StringVisitable
EMPTY, TERMINATE_VISIT
-
Constructor Summary
Constructors Modifier Constructor Description BlockNbtText(String rawPath, boolean rawJson, String rawPos)
private
BlockNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, String rawPos, PosArgument pos)
-
Method Summary
Modifier and Type Method Description NbtText.BlockNbtText
copy()
Copies the text itself, excluding the styles or siblings.boolean
equals(Object obj)
String
getPos()
private PosArgument
parsePos(String rawPos)
protected Stream<CompoundTag>
toNbt(ServerCommandSource source)
String
toString()
Methods inherited from class net.minecraft.text.NbtText
getPath, parse, shouldInterpret
Methods inherited from class net.minecraft.text.BaseText
append, asOrderedText, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopy
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
rawPos
- Mappings:
Namespace Name Mixin selector official g
Lop$a;g:Ljava/lang/String;
intermediary field_11780
Lnet/minecraft/class_2574$class_2575;field_11780:Ljava/lang/String;
named rawPos
Lnet/minecraft/text/NbtText$BlockNbtText;rawPos:Ljava/lang/String;
-
pos
- Mappings:
Namespace Name Mixin selector official h
Lop$a;h:Lem;
intermediary field_16408
Lnet/minecraft/class_2574$class_2575;field_16408:Lnet/minecraft/class_2267;
named pos
Lnet/minecraft/text/NbtText$BlockNbtText;pos:Lnet/minecraft/command/argument/PosArgument;
-
-
Constructor Details
-
BlockNbtText
- Mappings:
Namespace Name Mixin selector official <init>
Lop$a;<init>(Ljava/lang/String;ZLjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2574$class_2575;<init>(Ljava/lang/String;ZLjava/lang/String;)V
named <init>
Lnet/minecraft/text/NbtText$BlockNbtText;<init>(Ljava/lang/String;ZLjava/lang/String;)V
-
BlockNbtText
private BlockNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, String rawPos, @Nullable PosArgument pos)- Mappings:
Namespace Name Mixin selector official <init>
Lop$a;<init>(Ljava/lang/String;Ldr$g;ZLjava/lang/String;Lem;)V
intermediary <init>
Lnet/minecraft/class_2574$class_2575;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;ZLjava/lang/String;Lnet/minecraft/class_2267;)V
named <init>
Lnet/minecraft/text/NbtText$BlockNbtText;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;ZLjava/lang/String;Lnet/minecraft/command/argument/PosArgument;)V
-
-
Method Details
-
parsePos
- Mappings:
Namespace Name Mixin selector official d
Lop$a;d(Ljava/lang/String;)Lem;
intermediary method_16121
Lnet/minecraft/class_2574$class_2575;method_16121(Ljava/lang/String;)Lnet/minecraft/class_2267;
named parsePos
Lnet/minecraft/text/NbtText$BlockNbtText;parsePos(Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
-
getPos
- Mappings:
Namespace Name Mixin selector official j
Lop$a;j()Ljava/lang/String;
intermediary method_10922
Lnet/minecraft/class_2574$class_2575;method_10922()Ljava/lang/String;
named getPos
Lnet/minecraft/text/NbtText$BlockNbtText;getPos()Ljava/lang/String;
-
copy
Description copied from interface:Text
Copies the text itself, excluding the styles or siblings.- Specified by:
copy
in interfaceText
- Specified by:
copy
in classBaseText
- Mappings:
Namespace Name Mixin selector official k
Lop$a;k()Lop$a;
intermediary method_10850
Lnet/minecraft/class_2574$class_2575;method_10850()Lnet/minecraft/class_2574$class_2575;
named copy
Lnet/minecraft/text/NbtText$BlockNbtText;copy()Lnet/minecraft/text/NbtText$BlockNbtText;
-
toNbt
- Specified by:
toNbt
in classNbtText
- Mappings:
Namespace Name Mixin selector official a
Lop;a(Ldb;)Ljava/util/stream/Stream;
intermediary method_10916
Lnet/minecraft/class_2574;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;
named toNbt
Lnet/minecraft/text/NbtText;toNbt(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
-
equals
-
toString
-