Interface RegistryEntry<R>

All Superinterfaces:
LazyEntry<R>, ResourceEntry<R>, Supplier<R>
All Known Subinterfaces:
BlockRegistryEntry<B,I>
All Known Implementing Classes:
CommonBlockRegistryEntry

public interface RegistryEntry<R> extends ResourceEntry<R>
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<net.minecraft.core.Holder<R>>
     
    net.minecraft.resources.ResourceKey<R>
     

    Methods inherited from interface info.u_team.u_team_core.api.registry.LazyEntry

    isPresent

    Methods inherited from interface info.u_team.u_team_core.api.registry.ResourceEntry

    getId

    Methods inherited from interface java.util.function.Supplier

    get
  • Method Details

    • getKey

      net.minecraft.resources.ResourceKey<R> getKey()
    • getHolder

      Optional<net.minecraft.core.Holder<R>> getHolder()