'How to make glass block clear in minecraft fabric modding?

I'm now learing how to make a mod, but I'm stuck when I tried to add a glass block into my custom mod. My glass block looks black, but I just copy the texture in vanilla minecraft. Can anyone tell me how to fix it?

There are some code about adding block:

private static Block registerBlock(String name, Block block) {
    registerBlockItem(name, block);
    return Registry.register(Registry.BLOCK, new Identifier(More_Ores.MOD_ID, name), block);
}

private static Item registerBlockItem(String name, Block block) {
    return Registry.register(Registry.ITEM, new Identifier(More_Ores.MOD_ID, name),
            new BlockItem(block, new FabricItemSettings().group(ModItemGroup.MORE_ORES)));
}

// add my custom block
public static final Block TOUGHENED_GLASS = registerBlock("toughened_glass",
        new ToughenedGlassBlock(FabricBlockSettings.of(Material.GLASS).strength(15.0f)
                .breakByTool(FabricToolTags.PICKAXES, 3).requiresTool()));

ToughenedGlassBlock.java

package net.chocomint.more_ores.block.custom;

import net.minecraft.block.GlassBlock;
    
public class ToughenedGlassBlock extends GlassBlock {
    public ToughenedGlassBlock(Settings settings) {
        super(settings);
    }
}

BLACK GLASS



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source