maruohon / enderutilities

A Minecraft mod that adds various (mostly "ender-themed") blocks and items
GNU Lesser General Public License v3.0
27 stars 15 forks source link

Barrel Camouflage #62

Closed Thiana closed 6 years ago

Thiana commented 7 years ago

Would it be possible to extend the camo functionality to Barrels? Standard or as an upgrade.

Thanks.

maruohon commented 7 years ago

How should this work in your opinion? The current camo implementation takes the entire target block's model and uses that. Meaning that a camouflaged barrel would be for example just a full normal cube of stone. If it would need to be a custom barrel model with just the target model's textures (like the framed drawers), then I believe it would require a more complex custom model, which would take and adapt the texture UVs from the camo model...

But if I'd use the camo model directly, I guess I could then implement it so that I'd first take the camo block model, and then add "overlay quads" with the white front item background texture on top of that for any front/labeled faces. Or would you prefer it being for example just a stone block with the item rendered on top of the stone? Although if I were to add the overlay model, then it would be easy to change the front face background texture to fully transparent or anything else you might prefer in a resource pack, ie. that would be the most flexible solution in this simple model (camo model + overlay quads) case.

Thiana commented 7 years ago

Since white labels are neutral and would work on almost all blocks, I'd vote for the camo + label overlays.

Thiana commented 6 years ago

Thanks :)