Hey! try to use this in your block properties:
Block.Properties#func_226896_b_()
Is to set the block to none solid.
To look like this:
public class BlockGobberGlass extends GlassBlock
{
public BlockGobberGlass(Properties properties)
{
super(properties.func_226896_b_());
}
@OnlyIn(Dist.CLIENT)
public void addInformation(ItemStack stack, @Nullable IBlockReader world, List<ITextComponent> tooltip, ITooltipFlag flag)
{
super.addInformation(stack, world, tooltip, flag);
tooltip.add(new StringTextComponent(TextFormatting.BLUE + "A very sturdy glass block, drops the block when broken"));
}
}