Package hiiragi283.core.common.registry
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
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtranslationKey
-
Constructor Summary
Constructors Constructor Description HTDeferredEntityType(ResourceKey<EntityType<?>> key)HTDeferredEntityType(ResourceLocation id)
-
Method Summary
Modifier and Type Method Description StringgetTranslationKey()ResourceKey<EntityType<?>>getResourceKey()保持しているResourceKeyを返します。 EntityType<ENTITY>get()ComponentgetText()テキストを取得します。 -
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
-
-
Method Detail
-
getTranslationKey
String getTranslationKey()
-
getResourceKey
ResourceKey<EntityType<?>> getResourceKey()
保持しているResourceKeyを返します。
-
getText
Component getText()
テキストを取得します。
-
-
-
-