Started by 
dkrdjdi
 on 
    Topic category: User side tutorials
If you've followed the tutorial properly, you'll see something like this.
Step1.
Create a texture, Slime model.
1. a transparent texture with a dot in the corner
2. Self-made slime textures (but transparency should be applied to parts other than the Core)
Step2.
Default Textures : Apply a transparent texture with dots on the corners.
Model Layer Textures : Check the slime model and glow effect.
Setp3.
Enter code editor entityRenderer.java
Find the code below.
(RenderType.eye(LAYER_TEXTURE));
Change the code.
(RenderType.entityTranslucent(LAYER_TEXTURE));
Remove the light and enter a value between 1 and 15. You can adjust the brightness of the glow texture of the core.
Edited by dkrdjdi on Mon, 12/23/2024 - 14:13
                            
thank you soooo much for this!
(RenderType.entityTranslucent(LAYER_TEXTURE));
If the slime has color in it
You can use the code below instead of the code above.
(RenderType.entityTranslucentCull(LAYER_TEXTURE));
is there any way to do this via an external .java file? I don't want to lock the entity element
Whenever I try to do the (RenderType.entityTranslucentCull(LAYER_TEXTURE)); thing it always crashes when I try to load into the game, is there anyway to fix this? It’s fine when I do just (RenderType.entityTranslucent(LAYER_TEXTURE)); but it constantly looks like it’s in the dark.. (I’m using a fabric Build with Minecraft version 1.21.8 so that might change some things, and I also have a lot of content currently in the mod which might also mess it up)