public final class TutorialBlocks { [...] // 1.21.2 之前: public static final Block COLOR_BLOCK = register("color_block", new Block(AbstractBlock.Settings.create())); // 1.21.2 及之后: public static final Block COLOR_BLOCK = register("color_block", Block::new, AbstractBlock.Settings.create()); }