SvenKayser / JMOD

The Javascript MOD Loader
Other
8 stars 3 forks source link

Function to create custom Stairs and Slabs #21

Open nmarshall23 opened 7 years ago

nmarshall23 commented 7 years ago

I know Stairs and Slabs requires more textures than basic blocks. Not sure if they should share textures or if that even matters.

ghost commented 7 years ago

Actually, stairs, slabs, buttons, and fences use existing textures (such as the blocks that make them), and simply wrap them around their models.

More information can be found here.

SvenKayser commented 7 years ago

Hm. I like the idea. I'm not sure if that's a really useful feature or not. There are several good microblock implementations, that serve this better than JMOD possibly could.

It should be rather easy to do, however. Just pass one blocks texture (that's how MC does it, no additional textures) and other attributes to a slab or stair. This should even be relatively easily doable with blocks not native to the "slabbing" JMOD.

SvenKayser commented 7 years ago

After some consideration I guess this is implementable without much hassle.