Class NbtCompoundJson

java.lang.Object
net.minecraft.util.json.NbtCompoundJson

public class NbtCompoundJson extends Object
Mappings:
Namespace Name
official au
intermediary net/minecraft/class_3216
named net/minecraft/util/json/NbtCompoundJson
  • Field Details

    • EMPTY

      public static final NbtCompoundJson EMPTY
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a:Lau;
      intermediary field_15772 Lnet/minecraft/class_3216;field_15772:Lnet/minecraft/class_3216;
      named EMPTY Lnet/minecraft/util/json/NbtCompoundJson;EMPTY:Lnet/minecraft/util/json/NbtCompoundJson;
    • nbt

      @Nullable private final NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      official b Lau;b:Lfy;
      intermediary field_15773 Lnet/minecraft/class_3216;field_15773:Lnet/minecraft/class_322;
      named nbt Lnet/minecraft/util/json/NbtCompoundJson;nbt:Lnet/minecraft/nbt/NbtCompound;
  • Constructor Details

    • NbtCompoundJson

      public NbtCompoundJson(@Nullable NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lau;<init>(Lfy;)V
      intermediary <init> Lnet/minecraft/class_3216;<init>(Lnet/minecraft/class_322;)V
      named <init> Lnet/minecraft/util/json/NbtCompoundJson;<init>(Lnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • method_14343

      public boolean method_14343(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Laip;)Z
      intermediary method_14343 Lnet/minecraft/class_3216;method_14343(Lnet/minecraft/class_1071;)Z
      named method_14343 Lnet/minecraft/util/json/NbtCompoundJson;method_14343(Lnet/minecraft/item/ItemStack;)Z
    • method_14346

      public boolean method_14346(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Lvg;)Z
      intermediary method_14346 Lnet/minecraft/class_3216;method_14346(Lnet/minecraft/class_864;)Z
      named method_14346 Lnet/minecraft/util/json/NbtCompoundJson;method_14346(Lnet/minecraft/entity/Entity;)Z
    • method_14345

      public boolean method_14345(@Nullable NbtElement nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Lgn;)Z
      intermediary method_14345 Lnet/minecraft/class_3216;method_14345(Lnet/minecraft/class_605;)Z
      named method_14345 Lnet/minecraft/util/json/NbtCompoundJson;method_14345(Lnet/minecraft/nbt/NbtElement;)Z
    • fromJson

      public static NbtCompoundJson fromJson(@Nullable JsonElement element)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Lcom/google/gson/JsonElement;)Lau;
      intermediary method_14344 Lnet/minecraft/class_3216;method_14344(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_3216;
      named fromJson Lnet/minecraft/util/json/NbtCompoundJson;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/util/json/NbtCompoundJson;