team-abnormals / blueprint

Library that implements the framework of all Abnormals mods
https://www.curseforge.com/minecraft/mc-mods/blueprint
Other
111 stars 34 forks source link

[Suggestion] Automatically register blueprint blocks as flammable/compostable #134

Closed Ketok4321 closed 2 years ago

Ketok4321 commented 2 years ago

For example when new LogBlock is created it would automatically register itself as flammable, or when new BlueprintLeavesBlock is created it would register itself as compostable. It could be very easily achieved by just calling DataUtil.registerFlammable/DataUtil.registerCompostable within constructors

SmellyModder commented 2 years ago

While this could simplify and ease the creation of logs for some people, it could also be a nuisance to modders that don't want their logs to be flammable, compostable, and/or want abnormal values for their logs flammable and compostable values. Also, registering flammable and compostables during block construction is unsafe because order issues can occur.

Some modders may also like having all their flammable and compostable values organized and easily viewable in their codebase.