[Change] Added BehaviourBuilders
to replace the deprecated Block-Material
System
This commit is contained in:
parent
e656bce991
commit
4a74a44422
20 changed files with 144 additions and 95 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue