[1.7.10, 1.8.9, 1.9] Glass Shards and Ice Shards

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Plainy

New Member
Jul 29, 2019
366
0
0
That's how it looks ingame:
View attachment 14105
Minecraft doesn't render the alpha channel in-world, which makes it look weird. It's fine when it is in the inventory though.
I'd suggest using the partial transparency only for the stained shards. That's how I did it with the current textures.

FUUU!
Seems like it has to be coded in.
By the way, you can try and test your textures ingame yourself by dropping them into the .jar file, into the "assets/glass_shards/textures/items" folder
I guess I have to replace Glass_shard.png?

link
 
Last edited:

ljfa

New Member
Jul 29, 2019
2,761
-46
0
"Seems like it has to be coded in." - what did quote there? I never wrote that

I guess I have to replace Glass_shard.png?
It's actually called glass_shards.png.
Well there's one png file for each of the colors, and one for the uncolored version.
 

Plainy

New Member
Jul 29, 2019
366
0
0
"Seems like it has to be coded in." - what did quote there? I never wrote that


It's actually called glass_shards.png.
Well there's one png file for each of the colors, and one for the uncolored version.
Yea noticed also linked to how to add transparancy which does allow the alpha channels to exsist aparently.
note the guy is sort of a douche
 

ljfa

New Member
Jul 29, 2019
2,761
-46
0
I dont understand it but im sure you do xD
You basicly take the glass properties taht is saying its a transparant texture.
The video only covers transparent blocks, which by themselves are no problem.
Rendering items ingame is a different story. If I wanted transparency to be handled properly I would have to write my own renderer for the item, which is beyond the scope of this mod IMO. I would need to see how Mojang does it, but I can't copy their code.
 

Plainy

New Member
Jul 29, 2019
366
0
0
Well Ima test it with out the "fill" then see how that looks

52dde6bf1f.png
 

ljfa

New Member
Jul 29, 2019
2,761
-46
0
You can still use alpha channels, it will still show up when rendered in the inventory. Just not when dropped on the ground or held in the hand.
 

Plainy

New Member
Jul 29, 2019
366
0
0
You can still use alpha channels, it will still show up when rendered in the inventory. Just not when dropped on the ground or held in the hand.
Yea but that will look ugly ;-;
Also replaced a black shard with a texture xD

Also might this help a bit Link
 
Last edited:

Plainy

New Member
Jul 29, 2019
366
0
0
Sooo I just broke glass and suddenly a shard dropped and im like what o.o! I thought i had that in my other instance.
I go check at my other instance... Nope seems like I installed it on the DW20 pack so I can confrim the compatability there xD
 
  • Like
Reactions: ljfa

Plainy

New Member
Jul 29, 2019
366
0
0
Yes
every color is a separate texture
Guess I'll do that when I get home tonight.
Also still missing some screenshots from the working transparancy :p

"Better textures (but only if someone goes ahead and makes them for me, I'm a terrible artist :( )"

You can remove that from the Feature's :cool:
 

Plainy

New Member
Jul 29, 2019
366
0
0
Hmmm Guess I have to start on the shard colors...
but first back to learning a bit of Java :p
I am so happy this exsists:

aa6922dc49.png


also dis gonna be a hassle.......
 
  • Like
Reactions: ljfa

Plainy

New Member
Jul 29, 2019
366
0
0
ARE YOU KIDDING ME!
why the hell the custom names I just got them done now I can rename all of them dammit!
Use the damn Minecraft names ;-; xD
God well ima rename put them in my game to see how they look then Ill send em over :D