[1.12, Ported] Blockmaterial's Flammable Property does not apply on blocks created.
kindlich opened this issue ยท 1 comments
@Mattmn.
I have to apologize, but your issue was caught up in a repository transfer, so I re-created it here.
If there's something missing, please either re-create it or add it here.
This is for ContentTweaker-1.12.2-4.9.1
The Issue:
I noticed when creating a new block with a given material, some normally flammable materials don't allow fire to to be placed on top (leaves, plants, vine, carpet, and tnt) while others never burn up (grass, wood, cloth).
I would like to see a block's material to include encouragement and flammability as it works in vanilla: https://minecraft.gamepedia.com/Fire#Flammable_blocks
Also it would also be nice to have getters/setters to define our own encouragement/flammability values during block creation.
I've confirmed that this issue also exists in ContentTweaker-1.16-1.0.0.develop.10
Example code:
new BlockBuilder(<blockmaterial:wood>)
.withHardnessAndResistance(2.0f)
.withHarvestTool(<tooltype:axe>)
.withHarvestLevel(0)
.withType<BlockBuilderStairs>()
.withTopTexture(<resource:minecraft:oak_log>)
.withBottomTexture(<resource:minecraft:oak_log>)
.withSidesTexture(<resource:minecraft:oak_log>)
.build("oak_wood_stairs");