Class NbtHelper

java.lang.Object
net.minecraft.nbt.NbtHelper

public final class NbtHelper
extends Object
Mappings:
Namespace Name
official dy
intermediary net/minecraft/class_1415
named net/minecraft/nbt/NbtHelper
  • Constructor Details

    • NbtHelper

      public NbtHelper()
  • Method Details

    • toGameProfile

      public static com.mojang.authlib.GameProfile toGameProfile​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Ldn;)Lcom/mojang/authlib/GameProfile;
      intermediary method_5055 Lnet/minecraft/class_1415;method_5055(Lnet/minecraft/class_1405;)Lcom/mojang/authlib/GameProfile;
      named toGameProfile Lnet/minecraft/nbt/NbtHelper;toGameProfile(Lnet/minecraft/nbt/CompoundTag;)Lcom/mojang/authlib/GameProfile;
    • fromGameProfile

      public static CompoundTag fromGameProfile​(CompoundTag tag, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Ldn;Lcom/mojang/authlib/GameProfile;)Ldn;
      intermediary method_5056 Lnet/minecraft/class_1415;method_5056(Lnet/minecraft/class_1405;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_1405;
      named fromGameProfile Lnet/minecraft/nbt/NbtHelper;fromGameProfile(Lnet/minecraft/nbt/CompoundTag;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/nbt/CompoundTag;
    • matches

      public static boolean matches​(Tag standard, Tag subject, boolean equalValue)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Leb;Leb;Z)Z
      intermediary method_5057 Lnet/minecraft/class_1415;method_5057(Lnet/minecraft/class_1419;Lnet/minecraft/class_1419;Z)Z
      named matches Lnet/minecraft/nbt/NbtHelper;matches(Lnet/minecraft/nbt/Tag;Lnet/minecraft/nbt/Tag;Z)Z