Pickle_Face5 Posted August 11, 2020 Posted August 11, 2020 Helo. So, I'm making a blue berry block that works fine, but the texture is filled with green in game. I tried .notSolid(), but that turned it to be filled with black. Pls help :< Quote Have some lorem ispum.
poopoodice Posted August 11, 2020 Posted August 11, 2020 (edited) Set the render type of the block in your client setup using RenderTypeLookup.setRenderLayer(block, rendertype); or make a shape for it Edited August 11, 2020 by poopoodice Quote
Pickle_Face5 Posted August 11, 2020 Author Posted August 11, 2020 6 minutes ago, poopoodice said: Set the render type of the block in your client setup using RenderTypeLookup.setRenderLayer(block, rendertype); or make a shape for it Ok, but what RenderType do I use to make it transparent? Quote Have some lorem ispum.
Pickle_Face5 Posted August 11, 2020 Author Posted August 11, 2020 This right? private void doClientStuff(final FMLClientSetupEvent event) { RenderTypeLookup.setRenderLayer(Registry.BLUEBERRY_BUSH.get(), RenderType.getCutout()); } Quote Have some lorem ispum.
Ninja013 Posted August 11, 2020 Posted August 11, 2020 That looks right to me. Have you tested it out? Quote
Pickle_Face5 Posted August 11, 2020 Author Posted August 11, 2020 It works now, thanks! 1 Quote Have some lorem ispum.
Recommended Posts
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.