Interface ResourceKeyApi

All Known Implementing Classes:
ResourceKeyApiImpl

public interface ResourceKeyApi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ResourceKeyApi
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> net.minecraft.resources.ResourceKey<T>
    create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, Identifier id)
     
    <T> net.minecraft.resources.ResourceKey<T>
    createImpl(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, Identifier id)
     
    static <T> net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>>
     
    <T> net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>>
     
    static Identifier
    getLocation(net.minecraft.resources.ResourceKey<?> resourceKey)
     
    getLocationImpl(net.minecraft.resources.ResourceKey<?> resourceKey)
     
  • Field Details

  • Method Details

    • create

      static <T> net.minecraft.resources.ResourceKey<T> create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, Identifier id)
    • createRegistry

      static <T> net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> createRegistry(Identifier id)
    • getLocation

      static Identifier getLocation(net.minecraft.resources.ResourceKey<?> resourceKey)
    • createImpl

      @Internal <T> net.minecraft.resources.ResourceKey<T> createImpl(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, Identifier id)
    • createRegistryImpl

      @Internal <T> net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> createRegistryImpl(Identifier id)
    • getLocationImpl

      @Internal Identifier getLocationImpl(net.minecraft.resources.ResourceKey<?> resourceKey)