This is kind of difficult to do. All blocks actually take up the full block in terms of data storage. The only way this could be done would be to have a separate slab+rail block that you could craft. I wouldn't expect to get the full variety of slab combinations. (With direction, there's only enough damage values to store 4 types of material.)
This is kind of difficult to do. All blocks actually take up the full block in terms of data storage. The only way this could be done would be to have a separate slab+rail block that you could craft. I wouldn't expect to get the full variety of slab combinations. (With direction, there's only enough damage values to store 4 types of material.)
What if, by placing a rail on a half-block, it gets transformed into that separate slab + rail block?
Sort of like golems.
What if, by placing a rail on a half-block, it gets transformed into that separate slab + rail block?
Sort of like golems.
Would this work? Just a thought...
Might be doable. The only issue I foresee would be determining which direction the track should face. You can't really do it by player facing since the block has already been placed.
It might be possible to calculate it based on nearby tracks, but keep in mind it's going to be one block higher than it should be (on top of the slab block) during initial placement. Probably pretty messy code for something you could already approximate by going slope-flat-slope-flat.
Edit: You could possibly calculate direction after the track merges, but I don't know if you'd get the block update necessary to do that.
Then instead of only flat or 45 degree slopes, there could also be gentle slopes.
Mostly moved on. May check back a few times a year.
What if, by placing a rail on a half-block, it gets transformed into that separate slab + rail block?
Sort of like golems.
Would this work? Just a thought...
It might be possible to calculate it based on nearby tracks, but keep in mind it's going to be one block higher than it should be (on top of the slab block) during initial placement. Probably pretty messy code for something you could already approximate by going slope-flat-slope-flat.
Edit: You could possibly calculate direction after the track merges, but I don't know if you'd get the block update necessary to do that.
Mostly moved on. May check back a few times a year.