DroidCrafter23 Posted July 29, 2024 Posted July 29, 2024 I am wanting my block to be used as fuel but I am not sure how. How would I do this? Here is my code for reference: public static final RegistryObject<Block> BLOCK_OF_FIREWOOD = registerBlock("block_of_firewood", () -> new Block(BlockBehaviour.Properties.copy(Blocks.STRIPPED_OAK_LOG))); private static <T extends Block> RegistryObject<T> registerBlock(String name, Supplier<T> block) { RegistryObject<T> toReturn = BLOCKS.register(name, block); registerBlockItem(name, toReturn); return toReturn; } The YouTube video I was following: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.