Uses of Class
net.neoforged.testframework.registration.DeferredBlockBuilder
-
Uses of DeferredBlockBuilder in net.neoforged.neoforge.debug.block
Modifier and TypeMethodDescriptionprivate static DeferredBlockBuilder
<? extends Block> OnDestroyedByPushReactionTests.registerDestroyOnPistonMoveWithCallback
(RegistrationHelper reg, Runnable callback) private static DeferredBlockBuilder
<? extends Block> OnDestroyedByPushReactionTests.registerPushOnPistonMoveWithCallback
(RegistrationHelper reg, Runnable callback) -
Uses of DeferredBlockBuilder in net.neoforged.testframework.registration
Modifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) <B extends Block>
DeferredBlockBuilder<B> DeferredBlocks.register
(String name, Function<ResourceLocation, ? extends B> func) <B extends Block>
DeferredBlockBuilder<B> <B extends Block>
DeferredBlockBuilder<B> DeferredBlocks.registerBlock
(String name, Function<BlockBehaviour.Properties, ? extends B> func, BlockBehaviour.Properties props) <B extends Block,
E extends BlockEntity>
DeferredBlockBuilder<B> DeferredBlocks.registerBlockWithBEType
(String name, BiFunction<BlockBehaviour.Properties, Supplier<BlockEntityType<E>>, ? extends B> func, org.apache.commons.lang3.function.TriFunction<BlockEntityType<?>, BlockPos, BlockState, E> beType, BlockBehaviour.Properties props) DeferredBlocks.registerSimpleBlock
(String name, BlockBehaviour.Properties props) DeferredBlockBuilder.withBlockItem()
DeferredBlockBuilder.withBlockItem
(Consumer<DeferredItemBuilder<BlockItem>> consumer) DeferredBlockBuilder.withBlockItem
(Item.Properties properties, Consumer<DeferredItemBuilder<BlockItem>> consumer) DeferredBlockBuilder.withColor
(int color) DeferredBlockBuilder.withDefaultWhiteModel()