#Void texture below block
23 messages · Page 1 of 1 (latest)
(Result for "java-culling")
Minecraft hides (culls) the faces between solid blocks to improve performance. To avoid this, remodel a non-solid block. For example: Glass, Pressure Plates, Flowers.
Alternatively, display the model by putting it into the head slot of an invisible Armor Stand or inside an invisible Item Frame.
Thanks you. And how I can remodel an non-solid block ?
by doing the exact same thing you did now, just rename the model
(to the name of a non-solid block)
In the json or in the java class ?
Forge ^^
then you can add this line to your model (manually)
That's for rendering transparent pixels I think
oh, I thought that would also change the culling behaviour 🤔
then you will need to set it to isOpaque=false or whatever the correct term is in your mod
In fabric there is a method called .nonOpaque() you can add to your block settings registry. See if there is something similar for Forge.
Not sure honestly
well, I guess grass blocks also use transparency in their texture but still cull
Thanks you it work the solution is
Yeah the method names are slightly different between Forge and Fabric
!close