Uses of Class
net.neoforged.neoforge.registries.DeferredBlock
Packages that use DeferredBlock
-
Uses of DeferredBlock in net.neoforged.neoforge.registries
Methods in net.neoforged.neoforge.registries that return DeferredBlockModifier and TypeMethodDescriptionstatic <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(Identifier key) Creates a newDeferredHoldertargeting theBlockwith the specified name.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(ResourceKey<Block> key) Creates a newDeferredHoldertargeting the specifiedBlock.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, Identifier key) <B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.register(String name, Function<Identifier, ? extends B> func) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<B extends Block>
DeferredBlock<B> Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.registerBlock(String name, Function<BlockBehaviour.Properties, ? extends B> func) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.registerBlock(String name, Function<BlockBehaviour.Properties, ? extends B> func, Supplier<BlockBehaviour.Properties> properties) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.registerBlock(String name, Function<BlockBehaviour.Properties, ? extends B> func, UnaryOperator<BlockBehaviour.Properties> properties) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.<B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.registerBlock(String name, Function<BlockBehaviour.Properties, ? extends B> func, BlockBehaviour.Properties props) Deprecated, for removal: This API element is subject to removal in a future version.DeferredRegister.Blocks.registerSimpleBlock(String name) Adds a new simpleBlockwith the defaultpropertiesto the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.DeferredRegister.Blocks.registerSimpleBlock(String name, Supplier<BlockBehaviour.Properties> properties) Adds a new simpleBlockwith the givenpropertiesto the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.DeferredRegister.Blocks.registerSimpleBlock(String name, UnaryOperator<BlockBehaviour.Properties> properties) Adds a new simpleBlockwith the givenpropertiesto the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.DeferredRegister.Blocks.registerSimpleBlock(String name, BlockBehaviour.Properties props) Deprecated, for removal: This API element is subject to removal in a future version.
DeferredRegister.Blocks.registerBlock(String, Function, Supplier)orDeferredRegister.Blocks.registerBlock(String, Function, UnaryOperator)instead.