#Glass texture not working
27 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
does the glass texture on the oven have pixels with an opacity that's not 0% or 100%?
if so, you might want to use a stained glass block instead
how can i use the stained glass block for my texture?
is this a resource pack that changes the glass block model or a mod that adds a new block?
Fabric or Forge?
in Fabric afaik you need to add
BlockRenderLayerMap.INSTANCE.putBlock(YOUR_BLOCK, RenderLayer.getCutout());
in whatever class of yours implements ClientModInitializer
(instead of YOUR_BLOCK you reference the actual block)
where should we add this
im having the same problem
😭
i really wish this was possible WITHOUT mods
In whatever class implements
ClientModInitializer
Forge
well, for forge you can either define it in the model (which can confuse people who wanna make resource packs for oyur mod in theory and isn't gonna work in anything but Forge) by adding "render_type": "minecraft:cutout", to the model.
or do the equivalent of what I described for Fabric, but in Forge
actually, as of 1.19 that "in model" solution seems to be the preferred way 🤔
(according to https://docs.minecraftforge.net/en/latest/rendering/modelextensions/rendertypes/)
ok thanks do you need a specific app for that and is it very complicated? (i am a beginner)
specific app for what?
for the model edit?
You just need any text editor to add in that one line of text
Can i do that in blockbench?
no
so you need a mod just to load a transparent block 😭
the question was about a mod
if you come in and don't give more context I assume you mean for the same context