Package hiiragi283.lib.registry
Class HTDeferredBlockRegister
-
- All Implemented Interfaces:
public final class HTDeferredBlockRegister extends HTDeferredRegister<Block>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnamespaceprivate final Supplier<Registry<Block>>registryprivate final IdentifierregistryNameprivate final ResourceKey<out Registry<Block>>registryKeyprivate final Collection<DeferredHolder<Block, out Block>>entries
-
Constructor Summary
Constructors Constructor Description HTDeferredBlockRegister(String namespace)
-
Method Summary
Modifier and Type Method Description final <BLOCK extends Block> HTDeferredBlock<BLOCK>registerBlock(String name, BlockBehaviour.Properties blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)final <BLOCK extends Block> HTDeferredBlock<BLOCK>registerBlock(String name, Supplier<BlockBehaviour.Properties> blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)final HTDeferredBlock<Block>registerSimpleBlock(String name, BlockBehaviour.Properties blockProp)final HTDeferredBlock<Block>registerSimpleBlock(String name, Supplier<BlockBehaviour.Properties> blockProp)<I extends Block> HTDeferredBlock<I>register(String name, Supplier<out I> sup)<I extends Block> HTDeferredBlock<I>register(String name, Function<Identifier, out I> func)Sequence<HTDeferredBlock<?>>asSequence()-
Methods inherited from class hiiragi283.lib.registry.HTDeferredBlockRegister
getEntries, getNamespace, getRegistry, getRegistryKey, getRegistryName -
Methods inherited from class net.neoforged.neoforge.registries.DeferredRegister
addAlias, createTagKey, createTagKey, getEntries, getRegistry, getRegistryKey, makeRegistry, register -
Methods inherited from class hiiragi283.lib.registry.HTDeferredRegister
addAlias, createId, createKey -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTDeferredBlockRegister
HTDeferredBlockRegister(String namespace)
-
-
Method Detail
-
registerBlock
final <BLOCK extends Block> HTDeferredBlock<BLOCK> registerBlock(String name, BlockBehaviour.Properties blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)
-
registerBlock
final <BLOCK extends Block> HTDeferredBlock<BLOCK> registerBlock(String name, Supplier<BlockBehaviour.Properties> blockProp, Function1<BlockBehaviour.Properties, BLOCK> factory)
-
registerSimpleBlock
final HTDeferredBlock<Block> registerSimpleBlock(String name, BlockBehaviour.Properties blockProp)
-
registerSimpleBlock
final HTDeferredBlock<Block> registerSimpleBlock(String name, Supplier<BlockBehaviour.Properties> blockProp)
-
register
<I extends Block> HTDeferredBlock<I> register(String name, Function<Identifier, out I> func)
-
asSequence
Sequence<HTDeferredBlock<?>> asSequence()
-
-
-
-