Add and test for missing method overrides in FabricBlockSettings (#3056)

This commit is contained in:
modmuss50
2023-05-11 09:25:08 +01:00
committed by GitHub
parent c53558c7e5
commit 4d8536c91f
13 changed files with 172 additions and 25 deletions

View File

@@ -129,7 +129,7 @@ public class RegistrySyncTest implements ModInitializer {
private static void registerBlocks(String namespace, int amount, int startingId) {
for (int i = 0; i < amount; i++) {
Block block = new Block(AbstractBlock.Settings.of());
Block block = new Block(AbstractBlock.Settings.create());
Registry.register(Registries.BLOCK, new Identifier(namespace, "block_" + (i + startingId)), block);
if (REGISTER_ITEMS) {