Package hiiragi283.core.common.registry
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> extends HTBasicHolderLike<AttachmentType<?>, AttachmentType<TYPE>>
-
-
Constructor Summary
Constructors Constructor Description HTDeferredAttachmentType(ResourceKey<AttachmentType<?>> key)HTDeferredAttachmentType(ResourceLocation id)
-
Method Summary
Modifier and Type Method Description StringgetNamespace()StringgetPath()AttachmentType<TYPE>get()final BooleanhasData(IAttachmentHolder holder)final TYPEgetData(IAttachmentHolder holder)final TYPEgetExistingData(IAttachmentHolder holder)final TYPEsetData(IAttachmentHolder holder, TYPE data)final TYPEremoveData(IAttachmentHolder holder)StringtoString()-
Methods inherited from class hiiragi283.core.common.registry.HTBasicHolderLike
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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getNamespace
String getNamespace()
-
getExistingData
final TYPE getExistingData(IAttachmentHolder holder)
-
removeData
final TYPE removeData(IAttachmentHolder holder)
-
-
-
-