Chisel-Team / ConnectedTexturesMod

Extensions to the vanilla model system, mainly for connected textures
http://chisel.team/ctm
GNU General Public License v2.0
125 stars 47 forks source link

Implement support for IForgeBlock#getAppearance #216

Closed pupnewfster closed 11 months ago

pupnewfster commented 1 year ago

This PR makes a couple minor breaking changes to some method signatures in the API to switch them from BlockGetter to BlockAndTintGetter. Theoretically we could do this in a non-breaking way but as it would be a bit of a mess and there hasn't been a 1.20 release of CTM yet, it doesn't seem worth the effort.

This PR also deprecates IFacade in favor of mods implementing IForgeBlock#getAppearance (#173) as that way they can support other mods that may add CTM like features, and also doesn't require them to have a hard dependency on CTM.

Preview of a combination of steel casing (block from mekanism), framed blocks (with the appearance of steel casing), and AE2 cable facades (with the appearance of steel casing) image