Class HTDeferredBlockRegister
-
- All Implemented Interfaces:
public final class HTDeferredBlockRegister extends HTDeferredRegister<Block>
-
-
Field Summary
Fields Modifier and Type Field Description private final ResourceKey<out Registry<Block>>registryKeypublic final Stringnamespace
-
Constructor Summary
Constructors Constructor Description HTDeferredBlockRegister(String namespace)
-
Method Summary
Modifier and Type Method Description final ResourceKey<out Registry<Block>>getRegistryKey()final <BLOCK extends Block> HTHolderLike<Block, BLOCK>registerBlock(String name, BlockBehaviour.Properties blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)final HTHolderLike<Block, Block>registerSimpleBlock(String name, BlockBehaviour.Properties blockProp)final Sequence<HTHolderLike<Block, ?>>asBlockSequence()-
-
Constructor Detail
-
HTDeferredBlockRegister
HTDeferredBlockRegister(String namespace)
-
-
Method Detail
-
getRegistryKey
final ResourceKey<out Registry<Block>> getRegistryKey()
-
registerBlock
final <BLOCK extends Block> HTHolderLike<Block, BLOCK> registerBlock(String name, BlockBehaviour.Properties blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)
-
registerSimpleBlock
final HTHolderLike<Block, Block> registerSimpleBlock(String name, BlockBehaviour.Properties blockProp)
-
asBlockSequence
final Sequence<HTHolderLike<Block, ?>> asBlockSequence()
-
-
-
-