类 NbtText.BlockNbtText
- java.lang.Object
-
- net.minecraft.text.BaseText
-
- net.minecraft.text.NbtText
-
- net.minecraft.text.NbtText.BlockNbtText
-
- 所有已实现的接口:
com.mojang.brigadier.Message,MutableText,ParsableText,StringVisitable,Text
- 封闭类:
- NbtText
public static class NbtText.BlockNbtText extends NbtText
- Mappings:
Namespace Name official ou$aintermediary net/minecraft/class_2574$class_2575named net/minecraft/text/NbtText$BlockNbtText
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.text.NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtText
-
从接口继承的嵌套类/接口 net.minecraft.text.StringVisitable
StringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>
-
从接口继承的嵌套类/接口 net.minecraft.text.Text
Text.Serializer
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable PosArgumentposprivate StringrawPos-
从接口继承的字段 net.minecraft.text.StringVisitable
EMPTY, TERMINATE_VISIT
-
-
构造器概要
构造器 限定符 构造器 说明 BlockNbtText(String rawPath, boolean rawJson, String rawPos)privateBlockNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, String rawPos, @Nullable PosArgument pos)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 NbtText.BlockNbtTextcopy()Copies the text itself, excluding the styles or siblings.booleanequals(Object obj)@Nullable StringgetPos()private @Nullable PosArgumentparsePos(String rawPos)protected Stream<CompoundTag>toNbt(ServerCommandSource source)StringtoString()-
从类继承的方法 net.minecraft.text.NbtText
getPath, parse, shouldInterpret
-
从类继承的方法 net.minecraft.text.BaseText
append, asOrderedText, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopy
-
从接口继承的方法 net.minecraft.text.Text
asTruncatedString, getString, method_36136, visit, visit, visitSelf, visitSelf
-
-
-
-
字段详细资料
-
rawPos
private final String rawPos
- Mappings:
Namespace Name Mixin selector official gLou$a;g:Ljava/lang/String;intermediary field_11780Lnet/minecraft/class_2574$class_2575;field_11780:Ljava/lang/String;named rawPosLnet/minecraft/text/NbtText$BlockNbtText;rawPos:Ljava/lang/String;
-
pos
@Nullable private final @Nullable PosArgument pos
- Mappings:
Namespace Name Mixin selector official hLou$a;h:Ler;intermediary field_16408Lnet/minecraft/class_2574$class_2575;field_16408:Lnet/minecraft/class_2267;named posLnet/minecraft/text/NbtText$BlockNbtText;pos:Lnet/minecraft/command/argument/PosArgument;
-
-
构造器详细资料
-
BlockNbtText
public BlockNbtText(String rawPath, boolean rawJson, String rawPos)
- Mappings:
Namespace Name Mixin selector official <init>Lou$a;<init>(Ljava/lang/String;ZLjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2574$class_2575;<init>(Ljava/lang/String;ZLjava/lang/String;)Vnamed <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 @Nullable PosArgument pos)
- Mappings:
Namespace Name Mixin selector official <init>Lou$a;<init>(Ljava/lang/String;Ldw$g;ZLjava/lang/String;Ler;)Vintermediary <init>Lnet/minecraft/class_2574$class_2575;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;ZLjava/lang/String;Lnet/minecraft/class_2267;)Vnamed <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
-
-
方法详细资料
-
parsePos
@Nullable private @Nullable PosArgument parsePos(String rawPos)
- Mappings:
Namespace Name Mixin selector official dLou$a;d(Ljava/lang/String;)Ler;intermediary method_16121Lnet/minecraft/class_2574$class_2575;method_16121(Ljava/lang/String;)Lnet/minecraft/class_2267;named parsePosLnet/minecraft/text/NbtText$BlockNbtText;parsePos(Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
-
getPos
@Nullable public @Nullable String getPos()
- Mappings:
Namespace Name Mixin selector official jLou$a;j()Ljava/lang/String;intermediary method_10922Lnet/minecraft/class_2574$class_2575;method_10922()Ljava/lang/String;named getPosLnet/minecraft/text/NbtText$BlockNbtText;getPos()Ljava/lang/String;
-
copy
public NbtText.BlockNbtText copy()
从接口复制的说明:TextCopies the text itself, excluding the styles or siblings.- 指定者:
copy在接口中Text- 指定者:
copy在类中BaseText- Mappings:
Namespace Name Mixin selector official kLou$a;k()Lou$a;intermediary method_10850Lnet/minecraft/class_2574$class_2575;method_10850()Lnet/minecraft/class_2574$class_2575;named copyLnet/minecraft/text/NbtText$BlockNbtText;copy()Lnet/minecraft/text/NbtText$BlockNbtText;
-
toNbt
protected Stream<CompoundTag> toNbt(ServerCommandSource source)
- 指定者:
toNbt在类中NbtText- Mappings:
Namespace Name Mixin selector official aLou;a(Ldg;)Ljava/util/stream/Stream;intermediary method_10916Lnet/minecraft/class_2574;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;named toNbtLnet/minecraft/text/NbtText;toNbt(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
-
equals
public boolean equals(Object obj)
-
toString
public String toString()
-
-