Posted December 31, 20213 yr 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.
December 31, 20213 yr 1 hour ago, Nomori said: 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? you need a custom Stair Model 1 hour ago, Nomori said: 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: Blocks.GLASS::defaultBlockState Edited December 31, 20213 yr by Luis_ST
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.