Interface HTResourceType.DataComponent

  • All Implemented Interfaces:
    hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , hiiragi283.core.api.storage.resource.HTResourceType , hiiragi283.core.api.storage.resource.HTResourceType.Registered , hiiragi283.core.api.text.HTHasText , net.minecraft.core.component.DataComponentHolder , net.neoforged.neoforge.common.extensions.IDataComponentHolderExtension , net.neoforged.neoforge.registries.datamaps.IWithData

    
    public interface HTResourceType.DataComponent<TYPE extends Object>
     implements HTResourceType.Registered<TYPE>, DataComponentHolder
                        

    コンポーネントを保持するRegisteredの拡張インターフェースです。

    Since:

    0.4.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract DataComponentPatch componentsPatch() このリソースのDataComponentPatchを返します。
      String getNamespace()
      String getPath()
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceType.Registered

        getData, getHolder, getResourceKey, isOf, isOf
      • 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 net.minecraft.core.component.DataComponentHolder

        get, getComponents, getOrDefault, has
      • Methods inherited from class net.neoforged.neoforge.common.extensions.IDataComponentHolderExtension

        addToTooltip, addToTooltip, get, getOrDefault, has
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait