Class HTDeferredAttachmentType

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

    
    public final class HTDeferredAttachmentType<TYPE extends Object>
     implements HTHolderLike<AttachmentType<?>, AttachmentType<TYPE>>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ResourceKey<AttachmentType<?>> getResourceKey() 保持しているResourceKeyを返します。
      AttachmentType<TYPE> get()
      final Boolean hasData(IAttachmentHolder holder)
      final TYPE getData(IAttachmentHolder holder)
      final TYPE getExistingData(IAttachmentHolder holder)
      final TYPE setData(IAttachmentHolder holder, TYPE data)
      final TYPE removeData(IAttachmentHolder holder)
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getNamespace, getPath
      • Methods inherited from class java.lang.Object

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

      • HTDeferredAttachmentType

        HTDeferredAttachmentType(ResourceKey<AttachmentType<?>> key)
      • HTDeferredAttachmentType

        HTDeferredAttachmentType(ResourceLocation id)