Class NbtHelper

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

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

    • NbtHelper

      public NbtHelper()
  • Method Details

    • toGameProfile

      public static com.mojang.authlib.GameProfile toGameProfile(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Ldn;)Lcom/mojang/authlib/GameProfile;
      intermediary method_7367 Lnet/minecraft/class_1946;method_7367(Lnet/minecraft/class_322;)Lcom/mojang/authlib/GameProfile;
      named toGameProfile Lnet/minecraft/nbt/NbtHelper;toGameProfile(Lnet/minecraft/nbt/NbtCompound;)Lcom/mojang/authlib/GameProfile;
    • fromGameProfile

      public static NbtCompound fromGameProfile(NbtCompound nbt, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Ldn;Lcom/mojang/authlib/GameProfile;)Ldn;
      intermediary method_10577 Lnet/minecraft/class_1946;method_10577(Lnet/minecraft/class_322;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_322;
      named fromGameProfile Lnet/minecraft/nbt/NbtHelper;fromGameProfile(Lnet/minecraft/nbt/NbtCompound;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/nbt/NbtCompound;
    • matches

      public static boolean matches(NbtElement standard, NbtElement subject, boolean equalValue)
      Mappings:
      Namespace Name Mixin selector
      official a Ldy;a(Leb;Leb;Z)Z
      intermediary method_10578 Lnet/minecraft/class_1946;method_10578(Lnet/minecraft/class_605;Lnet/minecraft/class_605;Z)Z
      named matches Lnet/minecraft/nbt/NbtHelper;matches(Lnet/minecraft/nbt/NbtElement;Lnet/minecraft/nbt/NbtElement;Z)Z