Hi, I'm making glass stairs for my mod, but they have an annoying line in the middle from glass border. How can I fix it or use custom textures for them?
Here's how it looks.
Also a bonus question... how can I reference vanilla glass blocks in the registering of the stairs. I did a quick and dumb solution by adding a copy of glass to use, like this:
public static final RegistryObject<Block> JUST_WORK= registerBlock("temp_block",
() -> new Block(BlockBehaviour.Properties.of(Material.GLASS).strength(1f).noOcclusion()));
public static final RegistryObject<Block> GLASS_STAIRS = registerBlock("glass_stairs",
() -> new StairBlock(() -> JUST_WORK.get().defaultBlockState(), BlockBehaviour.Properties.of(Material.GLASS).strength(1f).noOcclusion().sound(SoundType.GLASS)));
But I'm sure there's an easier way.