Option to make custom blocks and plants flammable

Published by vaggelsavv on Mon, 07/22/2019 - 12:21
Upvotes: 6
Issue description

i think its self explanatory

Issue comments

I have done some testing and it does indeed not set on fire. One needs to register the block to fire block to make it ignite. I am changing this to a feature request.

For users that use custom code, add this to your block constructor:

Blocks.FIRE.setFireInfo(this, 5, 20);

where 5 is how fast the block catches the fire and 20 how fast the block will burn.

For users that use custom code, add this to your block constructor:

plants would be handy too, I think cobwebs and some other blocks also are flammable, it may be worth going over the material list and checking over the fire burning properties for each one. to make sure it works with the game or even better yet add a checkbox for players to enable if they want it to catch fire or not.

This feature will be added in MCreator 1.9.1. I am closing this ticket now.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.