Package hiiragi283.core.common.registry
Class HTDeferredOnlyBlock
-
- All Implemented Interfaces:
-
hiiragi283.core.api.registry.HTHolderLike,hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.resource.HTKeyLike,hiiragi283.core.api.resource.HTKeyLike.HolderDelegate,hiiragi283.core.api.text.HTHasText,hiiragi283.core.api.text.HTHasTranslationKey,java.util.function.Supplier,java.util.function.Supplier,net.minecraft.core.Holder,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IHolderExtension,net.neoforged.neoforge.registries.datamaps.IWithData
public final class HTDeferredOnlyBlock<BLOCK extends Block> extends HTDeferredHolder<Block, BLOCK> implements HTHasTranslationKey, HTHasText, ItemLike
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtranslationKeyprivate final ResourceLocationidprivate final ResourceKey<Block>keyprivate final StringregisteredNameprivate final BooleanisBoundprivate final Holder<Block>delegate
-
Constructor Summary
Constructors Constructor Description HTDeferredOnlyBlock(ResourceKey<Block> key)HTDeferredOnlyBlock(ResourceLocation id)
-
Method Summary
Modifier and Type Method Description StringgetTranslationKey()ComponentgetText()テキストを取得します。 ItemasItem()final BooleanisOf(BlockState state)-
Methods inherited from class hiiragi283.core.common.registry.HTDeferredOnlyBlock
getDelegate, getId, getKey, getRegisteredName, isBound -
Methods inherited from class hiiragi283.core.api.registry.HTDeferredHolder
getHolder, getId, getKey -
Methods inherited from class net.minecraft.core.Holder
canSerializeIn, 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 -
Methods inherited from class net.neoforged.neoforge.registries.datamaps.IWithData
getData -
Methods inherited from class net.neoforged.neoforge.common.extensions.IHolderExtension
getDelegate, unwrapLookup -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike
getResourceKey -
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
-
-