Class HTDeferredEntityType

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

    
    public final class HTDeferredEntityType<ENTITY extends Entity>
     implements HTHolderLike<EntityType<?>, EntityType<ENTITY>>, HTHasTranslationKey, HTHasText
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTranslationKey()
      ResourceKey<EntityType<?>> getResourceKey() 保持しているResourceKeyを返します。
      EntityType<ENTITY> get()
      Component getText() テキストを取得します。
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId, isOf, isOf
      • 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

      • HTDeferredEntityType

        HTDeferredEntityType(ResourceKey<EntityType<?>> key)
      • HTDeferredEntityType

        HTDeferredEntityType(ResourceLocation id)