Interface HTResourceType.Registered
-
- All Implemented Interfaces:
-
hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.resource.HTKeyLike,hiiragi283.core.api.storage.resource.HTResourceType,hiiragi283.core.api.text.HTHasText,net.neoforged.neoforge.registries.datamaps.IWithData
public interface HTResourceType.Registered<TYPE extends Object> implements HTResourceType<TYPE>, HTKeyLike<TYPE>, IWithData<TYPE>
Holderを保持するHTResourceTypeの拡張インターフェースです。
- Since:
0.4.0
Hiiragi Tsubasa
-
-
Method Summary
Modifier and Type Method Description abstract Holder<TYPE>getHolder()BooleanisOf(TagKey<TYPE> tagKey)BooleanisOf(HolderSet<TYPE> holderSet)ResourceKey<TYPE>getResourceKey()保持しているResourceKeyを返します。 <T extends Any> TgetData(DataMapType<TYPE, T> type)StringgetNamespace()StringgetPath()-
Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceType
isOf, type -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike
getId, isOf, isOf -
Methods inherited from class hiiragi283.core.api.text.HTHasText
getText -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getResourceKey
ResourceKey<TYPE> getResourceKey()
保持しているResourceKeyを返します。
-
getNamespace
String getNamespace()
-
-
-
-