Class JsonUtils

java.lang.Object
net.neoforged.neoforge.common.util.JsonUtils

public class JsonUtils extends Object
  • Constructor Details

    • JsonUtils

      public JsonUtils()
  • Method Details

    • listOf

      private static <E> com.google.common.reflect.TypeToken<List<E>> listOf(Type arg)
    • readNBT

      @Nullable public static @Nullable CompoundTag readNBT(com.google.gson.JsonObject json, String key)
    • mapOf

      private static <E> com.google.common.reflect.TypeToken<Map<String,E>> mapOf(Type arg)