[Change] Added BehaviourBuilders to replace the deprecated Block-MaterialSystem

This commit is contained in:
Frank 2023-05-17 14:42:40 +02:00
parent e656bce991
commit 4a74a44422
20 changed files with 144 additions and 95 deletions

View file

@ -43,7 +43,7 @@ public class BlockRegistry extends BaseRegistry<Block> {
}
registerBlockItem(id, item);
if (block.defaultBlockState().getMaterial().isFlammable()
if (block.defaultBlockState().ignitedByLava()
&& FlammableBlockRegistry.getDefaultInstance()
.get(block)
.getBurnChance() == 0) {