Interface ID


public interface ID
  • Field Details

  • Method Details

    • string

      static String string(@Nullable @Nullable String id)
    • kjsString

      static String kjsString(String id)
    • namespace

      static String namespace(@Nullable @Nullable String s)
    • path

      static String path(@Nullable @Nullable String s)
    • of

      static net.minecraft.resources.ResourceLocation of(@Nullable @Nullable Object o, boolean preferKJS)
    • mc

      static net.minecraft.resources.ResourceLocation mc(@Nullable @Nullable Object o)
    • kjs

      static net.minecraft.resources.ResourceLocation kjs(@Nullable @Nullable Object o)
    • isKey

      static boolean isKey(Object from)
    • url

      static String url(net.minecraft.resources.ResourceLocation id)
    • reduce

      static String reduce(net.minecraft.resources.ResourceLocation id)
    • reduceKjs

      static String reduceKjs(net.minecraft.resources.ResourceLocation id)
    • resourcePath

      static String resourcePath(net.minecraft.resources.ResourceLocation id)
    • read

      static com.mojang.serialization.DataResult<net.minecraft.resources.ResourceLocation> read(com.mojang.brigadier.StringReader reader)