Interface HTResourceType.Registered
-
- All Implemented Interfaces:
-
hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.resource.HTKeyLike,hiiragi283.core.api.resource.HTKeyLike.HolderDelegate,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.HolderDelegate<TYPE>, IWithData<TYPE>
Holderを保持するHTResourceTypeの拡張インターフェースです。
- Since:
0.4.0
Hiiragi Tsubasa
-
-
Method Summary
Modifier and Type Method Description BooleanisOf(TYPE type)指定した種類が,このリソースが保持している種類と一致するか判定します。 BooleanisOf(ResourceKey<TYPE> key)指定したIDが,このリソースが保持しているIDと一致するか判定します。 BooleanisOf(TagKey<TYPE> tagKey)指定したTagKeyに,このリソースの保持している種類が含まれているか判定します。 BooleanisOf(Holder<TYPE> holder)指定したHolderが,このリソースが保持しているHolderと一致するか判定します。 BooleanisOf(HolderSet<TYPE> holderSet)指定したHolderSetに,このリソースの保持しているHolderが含まれているか判定します。 <T extends Any> TgetData(DataMapType<TYPE, T> type)-
Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceType
type -
Methods inherited from class hiiragi283.core.api.text.HTHasText
getText -
Methods inherited from class hiiragi283.core.api.resource.HTIdLike
getId, getNamespace, getPath -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike.HolderDelegate
getHolder, getResourceKey -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-