Class NbtText.StorageNbtText

All Implemented Interfaces:
com.mojang.brigadier.Message, MutableText, ParsableText, StringVisitable, Text
Enclosing class:
NbtText

public static class NbtText.StorageNbtText
extends NbtText
Mappings:
Namespace Name
official op$c
intermediary net/minecraft/class_2574$class_4616
named net/minecraft/text/NbtText$StorageNbtText
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official g Lop$c;g:Lwb;
      intermediary field_21049 Lnet/minecraft/class_2574$class_4616;field_21049:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/text/NbtText$StorageNbtText;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • StorageNbtText

      public StorageNbtText​(String rawPath, boolean interpret, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lop$c;<init>(Ljava/lang/String;ZLwb;)V
      intermediary <init> Lnet/minecraft/class_2574$class_4616;<init>(Ljava/lang/String;ZLnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/text/NbtText$StorageNbtText;<init>(Ljava/lang/String;ZLnet/minecraft/util/Identifier;)V
    • StorageNbtText

      public StorageNbtText​(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lop$c;<init>(Ljava/lang/String;Ldr$g;ZLwb;)V
      intermediary <init> Lnet/minecraft/class_2574$class_4616;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;ZLnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/text/NbtText$StorageNbtText;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;ZLnet/minecraft/util/Identifier;)V
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official j Lop$c;j()Lwb;
      intermediary method_23728 Lnet/minecraft/class_2574$class_4616;method_23728()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/text/NbtText$StorageNbtText;getId()Lnet/minecraft/util/Identifier;
    • copy

      public NbtText.StorageNbtText copy()
      Description copied from interface: Text
      Copies the text itself, excluding the styles or siblings.
      Specified by:
      copy in interface Text
      Specified by:
      copy in class BaseText
      Mappings:
      Namespace Name Mixin selector
      official k Lop$c;k()Lop$c;
      intermediary method_27698 Lnet/minecraft/class_2574$class_4616;method_27698()Lnet/minecraft/class_2574$class_4616;
      named copy Lnet/minecraft/text/NbtText$StorageNbtText;copy()Lnet/minecraft/text/NbtText$StorageNbtText;
    • toNbt

      protected Stream<CompoundTag> toNbt​(ServerCommandSource source)
      Specified by:
      toNbt in class NbtText
      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

      public boolean equals​(Object obj)
      Overrides:
      equals in class BaseText
      Mappings:
      Namespace Name Mixin selector
      official equals Loe;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2554;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/text/BaseText;equals(Ljava/lang/Object;)Z
    • toString

      public String toString()
      Overrides:
      toString in class BaseText
      Mappings:
      Namespace Name Mixin selector
      official toString Loe;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2554;toString()Ljava/lang/String;
      named toString Lnet/minecraft/text/BaseText;toString()Ljava/lang/String;