Link Copied to Clipboard
"create a block"
/* To create a simple block, first register it in the registry with a texture and a loot table. */ public static final RegistryObject<Block> CUSTOM_BLOCK = BLOCKS.register("custom_block", () -> new Block(AbstractBlock.Properties.copy(Blocks.STONE))); /* Then, create a blockstate file, a model file, and a texture for your custom block. Don't forget to add it to the loot table as well. */