Interface RegistryWrapper<T>

All Known Implementing Classes:
VanillaRegistryWrapper

public interface RegistryWrapper<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    containsKey(net.minecraft.resources.ResourceLocation location)
     
    get(net.minecraft.resources.ResourceLocation location)
     
    default Stream<T>
     
    net.minecraft.resources.ResourceLocation
    getKey(T object)
     
    getOptional(net.minecraft.resources.ResourceLocation location)
     
    Set<net.minecraft.resources.ResourceLocation>
     
    default Stream<net.minecraft.resources.ResourceLocation>
     
     
  • Method Details

    • getOptional

      Optional<T> getOptional(net.minecraft.resources.ResourceLocation location)
    • getKey

      net.minecraft.resources.ResourceLocation getKey(T object)
    • get

      T get(net.minecraft.resources.ResourceLocation location)
    • stream

      Stream<T> stream()
    • keySet

      Set<net.minecraft.resources.ResourceLocation> keySet()
    • containsKey

      boolean containsKey(net.minecraft.resources.ResourceLocation location)
    • keyStream

      default Stream<net.minecraft.resources.ResourceLocation> keyStream()
    • getForNamespace

      default Stream<T> getForNamespace(String namespace)