java.lang.Object
com.pixelmonmod.pixelmon.api.util.helpers.NBTHelper

public class NBTHelper extends Object
  • Constructor Details

    • NBTHelper

      public NBTHelper()
  • Method Details

    • getOrDefault

      public static <T> T getOrDefault(net.minecraft.nbt.CompoundTag nbt, String key, T defaultValue, BiFunction<net.minecraft.nbt.CompoundTag,String,T> function)