Class HTBasicHolderLike

  • All Implemented Interfaces:
    hiiragi283.core.api.registry.HTHolderLike , hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , java.util.function.Supplier

    
    public abstract class HTBasicHolderLike<R extends Object, T extends R>
     implements HTHolderLike<R, T>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getNamespace()
      String getPath()
      final Either<ResourceKey<R>, Holder<R>> unwrap()
      • Methods inherited from class hiiragi283.core.api.registry.HTHolderLike

        getHolder, getResourceKey
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId, isOf, isOf
      • Methods inherited from class java.util.function.Supplier

        get
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTBasicHolderLike

        HTBasicHolderLike(ResourceKey<R> key)
      • HTBasicHolderLike

        HTBasicHolderLike(ResourceKey<out Registry<R>> registryKey, ResourceLocation id)