CottonMC / Vivatech

Classic technologies rethought
5 stars 2 forks source link

Conduits #18

Open Frontrider opened 5 years ago

Frontrider commented 5 years ago
Frontrider commented 5 years ago

I'd recommend copying this to get the majority of your rendering (easier than writing your own special renderer): https://github.com/CottonMC/Ley-Lines/blob/master/src/main/resources/assets/leylines/blockstates/redstone_conduit.json https://github.com/CottonMC/Ley-Lines/tree/master/src/main/resources/assets/leylines/models/block

Forget the mess, that still does not work, onlythe highlighted lines: https://github.com/CottonMC/Ley-Lines/blob/ad7e258ebefd0f00f33c9e9f0538ab5566453e25/src/main/kotlin/io.github/cottonmc/leylines/blocks/RedstoneConduitBlock.kt#L20-L44

https://github.com/CottonMC/Ley-Lines/blob/ad7e258ebefd0f00f33c9e9f0538ab5566453e25/src/main/kotlin/io.github/cottonmc/leylines/blocks/RedstoneConduitBlock.kt#L55-L62

TimGoll commented 5 years ago

I could contribute pipe models and textures. I have something in mind if you're interested

Frontrider commented 5 years ago

I'm only throwing in some stuff I have. I'm not a dev on this mod. I just looked at what he has, and than gave an opinion.

TimGoll commented 5 years ago

I know! But I wanted to throw some stuff in there too :D

falseresync commented 5 years ago

I’m interested in any kind of help. You can create a Pull request for whatever you think fits mod well

Frontrider commented 5 years ago

The only thing I'd like to note with this set of models/blockstate, is that you want to watch the center node. If your models are built in a way, that the centerpiece is completely invisible when all the sides are connected, than you don't want to display it.

I can also recommend giving them some sort of quirk, that the player has to work around. Those are always more fun to play with.