Package hiiragi283.lib.registry
Class HTDeferredRecipeType
-
- All Implemented Interfaces:
-
hiiragi283.lib.resource.HTIdLike,hiiragi283.lib.resource.HTIdLike.Translatable,hiiragi283.lib.resource.SupplierWithId,hiiragi283.lib.text.HTHasText,hiiragi283.lib.text.HTHasTranslationKey,java.util.function.Supplier,java.util.function.Supplier,net.minecraft.core.Holder,net.neoforged.neoforge.common.extensions.IHolderExtension,net.neoforged.neoforge.registries.datamaps.IWithData
public final class HTDeferredRecipeType<RECIPE extends Recipe<?>> extends HTDeferredHolder<RecipeType<?>, RecipeType<RECIPE>> implements HTIdLike.Translatable
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtranslationKeyprivate final Stringnamespaceprivate final Stringpathprivate final ResourceKey<RecipeType<?>>keyprivate final Identifieridprivate final StringregisteredNameprivate final BooleanisBoundprivate final Holder<RecipeType<?>>delegate
-
Constructor Summary
Constructors Constructor Description HTDeferredRecipeType(ResourceKey<RecipeType<?>> key)HTDeferredRecipeType(Identifier id)
-
Method Summary
Modifier and Type Method Description StringgetTranslationKey()StringgetNamespace()StringgetPath()ComponentgetText()テキストを取得します。 -
Methods inherited from class hiiragi283.lib.registry.HTDeferredRecipeType
getDelegate, getId, getKey, getRegisteredName, isBound -
Methods inherited from class net.minecraft.core.Holder
areComponentsBound, canSerializeIn, components, is, is, is, is, is, kind, tags, unwrap, unwrapKey, value -
Methods inherited from class java.util.function.Supplier
get -
Methods inherited from class net.neoforged.neoforge.registries.DeferredHolder
asOptional, getId -
Methods inherited from class net.neoforged.neoforge.common.extensions.IHolderExtension
getDelegate, getKey, unwrapLookup -
Methods inherited from class net.neoforged.neoforge.registries.datamaps.IWithData
getData -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTranslationKey
String getTranslationKey()
-
getNamespace
String getNamespace()
-
getText
Component getText()
テキストを取得します。
-
-
-
-