Interface RegistryEntry<R>

All Superinterfaces:
Supplier<R>
All Known Subinterfaces:
BlockRegistryEntry<B,I>
All Known Implementing Classes:
FabricBlockRegister.FabricBlockRegistryEntry, FabricCommonRegister.FabricRegistryEntry

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

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

    Methods inherited from interface java.util.function.Supplier

    get
  • Method Details

    • getId

      net.minecraft.resources.ResourceLocation getId()
    • getKey

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

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

      boolean isPresent()