Posted September 28, 20204 yr I recently made a custom block (not a normally shaped one) and I was wondering how I can make it transparent. It is a crystal ball, and is meant to be a decoration block. It appears clear in my hand but when I place it down, it appears black instead of clear (Its only supposed to be clear where I have no colour.) I heard something about overlaying textures whilst truing to figure it out. If that's what I need to do, I have no idea how to do it. And for any1 who helps, thanks a ton! PS this is in 1.16.1 Edited September 28, 20204 yr by foonicular Forgot to add version
September 28, 20204 yr RenderTypeLookup#setRenderLayer in your client setup event should do the trick. Also, update to the latest minor.
September 28, 20204 yr Author I put: RenderTypeLookup.setRenderLayer(ModBlocks.CRYSTAL_BALL.get(), RenderType.getTranslucent()); and it broke my mod, its says that it cant get it or something like that, when I run the game.
September 28, 20204 yr 2 minutes ago, foonicular said: and it broke my mod You did something wrong in your mod then. Please link your repo so we can see the code.
September 29, 20204 yr Author Ok here's the GitHub page for my mod, I just made it.https://github.com/Foonicular/TutorialMod-1.16.1
September 29, 20204 yr On 9/28/2020 at 6:20 PM, ChampionAsh5357 said: in your client setup event This isn't in your client setup event.
September 29, 20204 yr Author Sorry, I'm still pretty new to this, where is my client setup? Thanks a ton for your guys' help!
September 29, 20204 yr The one that says "client"...? https://github.com/Foonicular/TutorialMod-1.16.1/blob/main/src/main/java/com/foonicular/tutorial/Tutorial.java#L48 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.