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(ResourceKey<Block> key) Creates a newDeferredHoldertargeting the specifiedBlock.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(ResourceLocation key) Creates a newDeferredHoldertargeting theBlockwith the specified name.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) <B extends Block>
DeferredBlock<B> DeferredRegister.Blocks.register(String name, Function<ResourceLocation, ? 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, BlockBehaviour.Properties props) Adds a new block to the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.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, BlockBehaviour.Properties props) Adds a new simpleBlockwith the givenpropertiesto the list of entries to be registered and returns aDeferredHolderthat will be populated with the created block automatically.