Tellios-Projects / Mint

Mint and Mint Colored Dye for Minecraft Java Edition!
Other
2 stars 2 forks source link

FabricBlockSettings.copyOf() appears to miss most attributes #6

Closed Leafenzo closed 7 months ago

Leafenzo commented 1 year ago

For instance:

return new Block(FabricBlockSettings.copyOf(Blocks.WHITE_WOOL).mapColor(color.getMapColor()).burnable()); Normal lava interaction

'return new Block(FabricBlockSettings.copyOf(Blocks.WHITE_WOOL).mapColor(color.getMapColor()));' Doesn't get caught fire by lava

this is all despite the fact that Blocks.WHITE_WOOL has the .burnable attribute. Some attributes from white wool are copied over correctly, such as soundgroup. Others are missed, such as instrument, I have not figured out yet what attributes are missed and which ones aren't.

For the time being- I just won't trust the function

Leafenzo commented 1 year ago

I tried to put a link in a comment here to a related issue in the fabric repos just for reference, cuz I thought it may be similar- however, I didn't realize my mention using the link would actually show up on the other repo's issue. my apologies for any unnecessary notifications, if those occurred. especially considering that that issue was closed, and for a different version of fabric, I believe (I'm using the version for 1.20.1)